Can't connect to local MYSQL server through socket '/tmp/mysql.sock' (2)
Hello All,
When i am trying to upgrade from mysql5.1 to mysql5.5, i got a errors like this
root@dhcppc4:~# mysql_upgrade
Looking for 'mysql' as: mysql
Looking for 'mysqlcheck' as: mysqlcheck
Running 'mysqlcheck' with connection arguments: '--port=3306' '--socket=/tmp/mysql.sock'
mysqlcheck: Got error:2002:Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) when trying to connect
FATAL ERROR: Upgrade failed
Also, when i am trying to stop and start the mysql server, it tells that dhcppc4.pid file is not found.
Pls, anyone help me to overcome from this error.
Thanks a lot.
|