The first method:
First step:
Reading the wrong window first
2003 can ' t connect to the MySQL server on ' 127.0.0.1 ' (10038).
Step Two:
The reason is: remote 3306 port is not open to operation.
Step Three:
First remotely connect to the server, click "Start"--> "Administrative Tools"--> "Advanced Security Windows Firewall".
Fourth Step:
In the open window, select "Inbound Rules" to the left and click "New rule" on the right to establish an inbound rule.
Fifth Step:
In the rule type, select port, and then next.
Sixth step:
Select "Specific local Area Connection" and enter 3306.
Seventh Step:
Select Allow connection, and then click Next.
Eighth Step:
The default is to select the line, and then the next step.
Nineth Step:
Give the rules a name, anything can, as long as you know on the line.
Tenth step:
It's OK to reopen MySQL.
The second method:
First step:
Open the service and see if MySQL starts.
Step Two:
Start the MySQL service.
The third method:
First step:
Locate the Start menu and open cmd.
Step Two:
Enter net start MySQL.
The above is a small set to introduce you to the MySQL 10038 error of the perfect solution (three), I hope to help you, if you have any questions please give me a message, small series will promptly reply to everyone. Here also thank you very much for the cloud Habitat Community website support!