Here's how to solve the problem:
Running net start MySQL under DOS cannot start mysql! Prompt for system error 5; Access Denied! Switch to administrator mode to start up. So we have to run the CMD program as an administrator to start MySQL.
So how to run the CMD program with the administrator status?
0. Locate cmd.exe below C:\Windows\System32 and right-click to attach to Start menu
1. Right-click cmd Select "Attach to Start menu (U)"; This is where you can find cmd on the Start menu,
2. Right-click Select Properties, select Shortcut, select Run as Administrator, then click OK!
Just open the Start menu and click on the shortcut above to run cmd as an administrator!
Then enter net start MySQL will not be wrong!
C:\windows\system32>net stop MySQL
The MySQL service is stopping:
The MySQL service has stopped successfully.
C:\windows\system32>net start MySQL
The MySQL service is starting:
The MySQL service has started successfully.
C:\windows\system32>