Home  >  Article  >  Database  >  What to do if there is a 2003 error when linking to mysql

What to do if there is a 2003 error when linking to mysql

藏色散人
藏色散人Original
2020-10-26 09:13:4823877browse

Solution to the 2003 error when linking to mysql: First click the start menu on the computer desktop; then select the "Service" application to open the service panel; then find MySQL56 in the service panel, select it, right-click and start This service; finally restart the MySQL program and connect to the database.

What to do if there is a 2003 error when linking to mysql

Recommended: "mysql video tutorial"

Mysql reports a 2003 error when connecting to the database, which is caused by a setting error. The solution is as follows:

1. First, click the Start menu on the computer desktop.

What to do if there is a 2003 error when linking to mysql

#2. Enter the word service through the search bar in the lower left corner, select the "Service" application, and open the service panel.

What to do if there is a 2003 error when linking to mysql

#3. Or press the win R key on the keyboard to open the run and enter services.msc to open the service panel.

What to do if there is a 2003 error when linking to mysql

#4. Then find MySQL56 in the service panel, select it and right-click to start this service. MySQL here is on the main interface, so you can start it directly.

What to do if there is a 2003 error when linking to mysql

#5. Finally, restart the MySQL program and connect to the database. Close the service application, open MySQL, close the error code prompt, enter the account password to re-establish a connection with the database, and then open the database program.

What to do if there is a 2003 error when linking to mysql

The above is the detailed content of What to do if there is a 2003 error when linking to mysql. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn