MySQL Net start MySQL is started and a system error is prompted. 5. The access is denied.

Source: Internet
Author: User

Why is this problem? After some thought, I found the reason because the current user's operation permission is too low and there is a problem.

The screenshot of the error is as follows:

The solution is as follows:

Running Net start MySql in DOS cannot start MySQL! Prompt system error 5; Access Denied! Switch to administrator mode. Therefore, we need to run the CMD program as an administrator to 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!

 

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.