Using command line Input net start mysql in win7 to start mysql Database Service has plagued me for a long time. After reading a lot of information, I finally found a solution.
It turns out that running mysql does not run the cmd program as an administrator! So mysql cannot be started!
Prompt system error 5; Access Denied! In win7, you can still use net start mysql to start the mysql service!
How can I run the cmd program as an administrator? Www.2cto.com 1. Enter cmd in the search box of the Start menu, right-click it, and select Run as administrator!
If mysql is to be started every day, isn't it very troublesome? So follow the steps below:
2. Right-click cmd and select "attach to start menu (U)". Then, you can find cmd on the Start Menu,
3. Right-click Properties, select shortcuts, 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!
Author: shijiebei2009