Thoughts on downgrading mysql

Source: Internet
Author: User

Test Environment
Windows 2003
For mysql 5.1
In iis 6.0
 
Mysql is started with the system permission by default, but for security reasons, many administrators will grant mysql permission to the guest permission to start mysql. At present, most of the methods used in Baidu search articles are as follows:
 
1. Create a user and delete the users group so that the user does not belong to any group.
2. grant full control permissions to the user in the mysql installation directory.
3. Change the Service Startup Mode to this user.
 
In fact, even if the root account is obtained after downgrading, the general idea cannot be used to escalate permissions. However, you can note that the second step is to grant full control permissions, therefore, we can write files with the root permission.
At the beginning, I tried to export the udf to the plugin directory, however, in another way, since udf can be exported and permissions are fully controlled, exporting an lpk directly to the bin directory is also all possible.
 
Test:
Lpk creates a folder
 
// Create the lib/plugin plug-in Directory
_ Mkdir ("test ");
 

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.