MySQL connection error
2003-10038
Did not start MySQL
cmd start MySQL Invalid reason
How to start MySQL manually:
Click on My Computer-"control-" file-"service found to open the service
1. You must run the CMD program with administrator status
So how to run the CMD program with the administrator status?
Law One:
In the Start menu search box, look for Cmd.exe, right-click to select Properties, and select Run as Administrator
Law II:
Create a command prompt (Cmd.exe) desktop shortcut, right-click to select Properties, and select Run as Administrator, OK.
You can use the shortcut to open it later so that you can enter net start MySQL without error.
If you enter cmd with Win+r, you are still not an administrator!
Fahsarm
Win10 three shortcuts run as Administrator cmd:win+ X go to the shortcut menu, press A to run CMD directly as Administrator
2. Download the MySQL5.7 version
The name of MySQL on the Windows service defaults to MySQL57, so running net start/stop in CMD is invalid and must be changed to net Start/stop mysqld57.
MySQL connection error 2003-10038 the quickest way to solve