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:
- Mysqldump backup problems got error: 1045, error 1045 (28000), got error: 1449
- MYSQL Login Error: mysqladmin: connect to server at ‘localhost’ failed
- mysql ERROR 1044 (42000): Access denied for user ‘
- [Solved] MYSQL ERROR 1044 (42000): Access denied for user ”@’localhost’ to database ‘mys…
- [Solved] MYSQL Install and Login Error: Access denied for user ‘ODBC’@’localhost’ (using password: NO)
- [Solved] Access denied for user ‘ODBC’@’localhost’ (using password: NO)
- When installing MySQL database on MAC, the system prompts MySQL: command not found
- When installing MySQL database on Mac OS, the system prompts MySQL: command not found
- [Solved] MYSQL8 Error: ERROR 2003 (HY000): Can’t connect to MySQL server on ‘localhost’ (10061)
- [Solved] MYSQL ERROR 1044 (42000): Access denied for user ”@’localhost’ to database ‘mysql’