DOS command or batch processing system error 5 Access Denied

Source: Internet
Author: User

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.

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.