Sunday, February 21, 2010

Unable to start Mysql in Ubuntu - Check this Great !

Hi Many are not able to start Mysql in Ubuntu

Try this you wil definitely get it work.

sudo apt-get -f remove mysql-server

sudo apt-get -f install mysql-server


Try if you are getting following error :

mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

OR

/etc/init.d/mysql start
* Starting MySQL database server mysqld [fail]

OR

100221 2:50:16 [ERROR] Can't start server: cannot resolve hostname!: Connection timed out
100221 2:50:16 [ERROR] Aborting

* Starting MySQL database server mysqld [fail]
invoke-rc.d: initscript mysql, action "start" failed.

No comments:

Post a Comment