[Solved] MySQL ERROR 2003 (HY000): Can’t connect to MySQL server on ‘localhost’ (10061)

 

MySQL display error 2003 (HY000): can’t connect to MySQL server on ‘localhost’ (10061) solution

solution: the first step is to enter the bin directory of MySQL

cd C:\Program Files\MySQL\MySQL Server 5.5\bin

Input:

mysqld --skip-grant-tables

Open a new CMD, and then enter the bin directory:

cd C:\Program Files\MySQL\MySQL Server 5.5\bin

Input:

mysql -uroot

The problem has to be solved

Similar Posts: