Net start MySQL running in DOS Windows 7 cannot start MySQL! Prompt system error 5; Access Denied!
Switch to administrator mode. Therefore, we need to run cmd as an administrator. ProgramTo 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!
For WINXP, users rarely perform security settings.Set
Solution: I found the Control Panel> User and account and Home Security> the user account opens the fire at the bottom to close "User Account Control". I can remove the check box.
Win2003 is generally abnormal in server security settings, so the execution of net commands may be restricted, or the security settings in some places are high, which needs to be modified according to individual needs.
If you have a better method, share it.