MySQL fault finding
If you run mysql and get ERROR 2002 it might mean that mysql failed to start
# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
This can be caused if you bound mysql by using bind-address in my.cnf and have since changed the ip address. (This can occur if you were running mysql in a vm, cloned it, generated a new UUID which creates a new MAC address which may cause your DHCP server to issue a new IP address)
REFERRERS
MySql
There are no comments on this page. [Add comment]