用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
958 B

# shut server down
# Server is down
#
# Try --initialize with --init-file [UN]INSTALL PLUGIN
#
# Create the bootstrap file
# Run the server with --initialize --init-file
# Restart the server against DDIR
# connect as root
# Check the status of the plugin as loaded by --init-file
SELECT PLUGIN_STATUS FROM mysql.t1
WHERE PLUGIN_NAME = 'validate_password';
PLUGIN_STATUS
ACTIVE
# Check the current status of the plugin
SELECT PLUGIN_STATUS FROM INFORMATION_SCHEMA.plugins
WHERE PLUGIN_NAME = 'validate_password';
PLUGIN_STATUS
ACTIVE
# must work as the plugin must be loaded at startup
UNINSTALL PLUGIN validate_password;
Warnings:
Warning 1287 'validate password plugin' is deprecated and will be removed in a future release. Please use validate_password component instead
# shut server down
# Server is down
# close the test connection
# delete mysqld log
# delete datadir
# delete the bootsrap file
#
# Cleanup
#
# Restarting the server
# End of 5.7 tests