Common Errors

1) MySQL ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock'

This is common MySQL error you get when your MySQL daemon service is not running. Resolution: Start the service with:-

service mysql / mysqld service

Or

restart MySQL service in windows in control panel

2) MySQL ERROR (2003) Can't connect to MySQL server on 'server'

The error (2003) Can't connect to MySQL server on 'server' (10061) indicates that the network connection has been refused. You should check that there is a MySQL server running, that it has network connections enabled, and that the network port you specified is the one configured on the server.

Need a Quick Query

solution and Training Partner