net start MySQL starts MySQL, prompting for system error 5 deny access resolution

Source: Internet
Author: User

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>

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.