用于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.

50 lines
1.1 KiB

5 months ago
# Save the count of columns in mysql
# shut server down
# Server is down
#
# Start of test for Bug #20504142
# MYSQLD OPTION --INITIALIZE SHOULD WORK WITH EMPTY DATADIR
#
#
# Try --initialize-insecure with an existing empty data dir
#
# create bootstrap file
# make the data dir
# Run the server with --initialize-insecure
# Restart the server against DDIR
# connect as root
# must pass: no password expiration
SELECT 1;
1
1
# shut server down
# Server is down
# close the test connection
# delete mysqld log
# delete bootstrap file
# delete datadir
#
# Try --initialize-insecure with an exising non-empty data dir
#
# make the data dir
# add afile to the data dir
# Run the server with --initialize-insecure
# look for the mysql directory. should not be there
# delete mysqld log
# delete datadir
#
# Try --initialize-insecure with an exising file as datadir
#
# add a file as the data dir
# Run the server with --initialize-insecure
# delete mysqld log
# delete datadir
#
# End of test for Bug #20504142
# MYSQLD OPTION --INITIALIZE SHOULD WORK WITH EMPTY DATADIR
#
#
# Cleanup
#
# Restarting the server