Running net start MySQL under DOS!!! Prompt for system error 5; Access Denied! Just switch to admin mode to start up.
So we have to run the CMD program as an administrator to start MySQL.
1. In the Start menu, search box, revenue cmd, then right-click and select Run as Administrator!
Wouldn't it be a hassle if you started the MySQL service every day? So:
2. Right-click cmd Select "Attach to Start menu (U)"; This is where you can find cmd on the Start menu,
3. Right click to select the address of the open file, then right click on select Properties, then choose Shortcut, click Advanced, select Run as Administrator, then click to select!
See the picture more convenient to understand!!!
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!
Transferred from and perfected: http://blog.csdn.net/htyurencaotang/article/details/8305828
JSP fix mysql net start MySQL startup, prompting for system error 5 denial of access issues