Why is this problem? After some thought, I found the reason because the current user's operation permission is too low and there is a problem.
The screenshot of the error is as follows:
The solution is as follows:
Running Net start MySql in DOS cannot start MySQL! Prompt system error 5; Access Denied! Switch to administrator mode. Therefore, we need to run the CMD program as an administrator to start MySQL.
So how can I run the CMD program as an administrator?
1. In the search box of the Start menu, right-click and select Run as administrator!
If MySQL is to be started every day, isn't it very troublesome? Therefore:
2. Right-click CMD and select "attach to [start] menu (u)". This is where you can find cmd on the Start Menu,
3. Right-click "select Properties", select "shortcut", select "advanced", run as administrator, and click "OK!
In the future, you only need to open the Start menu and click the shortcut above to run cmd as an administrator!
In this way, the input of Net start MySQL will not cause errors!