[Solved] error: Can’t connect to MySQL server on ‘localhost:3306’ (10061)

When you start MySQL with the command, the prompt is: can’t connect to MySQL server on ‘localhost: 3306’ (10061). The solution steps are as follows:

1. Start CMD as an administrator and enter the command to start the MySQL server: Net start mysql

2. Enter the login account and password of Mysql to start successfully: MySQL – U root – P

Similar Posts: