Reason for ERROR 2003 (HY000): Can’t connect to MySQL server on ‘localhost’ (10061) – MySQL services has not been started.
The error (2003) Can't connect to MySQL server on ' server ' (10061) indicates try using mysqladmin -h localhost variables to connect using the Unix socket file.
#Connect to plesk mysql database workbench windows 10
When I installed MySQL server a few months ago on my Windows 10 machine, Can't connect to MySQL server on 'localhost' (10061) (2003).Ĭan't connect to MySQL server on 'localhost' 10061, If the MySQL server is running on Windows, you can connect using TCP/IP. Please see the steps below to fix this problem. Can't connect to MySQL server on 'localhost' 10061, Reason for ERROR 2003 (HY000): Can’t connect to MySQL server on ‘localhost’ (10061) – MySQL services has not been started.
If the MySQL server is running on Windows, you can connect using TCP/IP. Connection error MySQL Can't connect to mysql server on 'localhost' (10061) windowsī.3.2.2 Can't connect to MySQL server, Can't connect to MySQL server on 'localhost' (10061) (2003) Assuming server is not running As I mentioned, the datadir option in the main my.ini configuration file didn't work, but I also found my.ini file in the following path C:\ProgramData\MySQL\MySQL Server 5.7.