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 ");