MySQL down the right to run the Guests startup Setup method with the account _mysql

Source: Internet
Author: User

MySQL is installed on Windows and the default is run with system privileges, as shown in the following figure:

System is a super administrator. It is not necessary to run any programs with this right.

This article will show you how to run MySQL under the Guest account.

First step: Create an account that belongs to the Guests group, which is assumed to be: SQL Server

Step Two: Set the Guest account to have control of the MySQL installation directory.

Other accounts can be deleted except for the administrators, system, and SQL Server accounts.

Step three: Set up the MySQL service to start with SQL Server.

In the Administrative Tools--"services", find "MySQL", right-click--> "Properties"--> Select "Login" in the Pop-up tab

The default logon status is "Local System account" and now select "This account" to fill out SQL Server and the corresponding password.

Fourth step: Restart the MySQL service.

In the service just found "MySQL", right-"reboot", the system will restart the MYSQL service.

After startup, notice whether the Mysqld-nt.exe running account inside the Task Manager changes to SQL Server.

At this point, the MySQL settings run with guests permissions has been set up.

Note: The actual use of our new users of the best group is not to give, is an independent user, in addition to running MySQL without any permissions, SQL Server is almost the original, but the setting is more cumbersome than MySQL.

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.