[Techtalk] Cannot get LAMP mysql or php to start

Mike Kenzie kenziem at sympatico.ca
Wed Jan 13 15:18:07 UTC 2010


> I have LAMP installed, but cannot get either mysql or php to start.
> I also installed TweetDeck and could not get it to run either. Apache
> is running just fine.
> I installed using command line, not gui, but a check on Synaptic
> Package Manager says that these programs are definitely installed.
> 
> I got this:
> An error seems to have occurred while installing the database. If it's
> of any help,
> this was the error encountered:
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket
>  '/var/run/mysqld/mysqld.sock' (2)

Did you run  

/usr/bin/mysql_install_db    or 
/usr/bin/mysql_secure_installation

How are you trying to start mysql?
Did you create a mysql account for the user trying to start/use Mysql?


-- 
Collector of vintage computers http://www.ncf.ca/~ba600


More information about the Techtalk mailing list