Why cannot I connect to the local MySQL Server?
There are several reasons why you cannot connect to the local database. If during connection you get the error “Can’t connect to MySQL server on ‘localhost’ (10061)”, then probably MySQL server is installed incorrectly or the service (usually with the name mysql) is not running. To check if the service is launched, open Control Panel->Administrative Tools->Services and find service MySQL. If you cannot find this service, you should try to reinstall MySQL. In case you find it, run it with the Start button or use Start item in the context menu. If you get the error “Access denied for user ‘root’@’localhost’ (using password: YES)”, then check if you enter the password for the root user correctly in case you change it during installation. If you installed MySQL with default values, you should use the user name root with the blank password and port 3306 to connect to the server. (more info at: http://dev.mysql.com/doc/refman/5.1/en/can-not-connect-to-server.
There are several reasons why you cannot connect to the local database. If during connection you get the error “Can’t connect to MySQL server on ‘localhost’ (10061)”, then probably MySQL server is installed incorrectly or the service (usually with the name mysql) is not running. To check if the service is launched, open Control Panel->Administrative Tools->Services and find service MySQL. If you cannot find this service, you should try to reinstall MySQL. In case you find it, run it with the Start button or use Start item in the context menu. If you get the error “Access denied for user ‘root’@’localhost’ (using password: YES)”, then check if you enter the password for the root user correctly in case you change it during installation. If you installed MySQL with default values, you should use “root” as user name with blank password and port 3306 to connect to the server. (more info at: http://dev.mysql.com/doc/refman/5.1/en/can-not-connect-to-server.
There are several reasons why you cannot connect to the local database. If during connection you get the error “Can’t connect to MySQL server on ‘localhost’ (10061)”, then probably MySQL server is installed incorrectly or the service (usually with the name mysql) is not running. To check if the service is launched, open Control Panel->Administrative Tools->Services and find service MySQL. If you cannot find this service, you should try to reinstall MySQL. In case you find it, run it with the Start button or use Start item in the context menu. If you get the error “Access denied for user ‘root’@’localhost’ (using password: YES)”, then check if you enter the password for the root user correctly in case you change it during installation. If you installed MySQL with default values, you should use the user name root with the blank password and port 3306 to connect to the server.