Run the command line "net start mysql" in win7 to start the mysql database service.

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.