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

52 lines
1.8 KiB

mysqladmin: [Warning] Using a password on the command line interface can be insecure.
mysqld is alive
mysqladmin: [ERROR] unknown variable 'database=db1'.
mysqladmin: [Warning] unknown variable 'loose-database=db2'.
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
mysqld is alive
mysqld is alive
#
# Bug#58221 : mysqladmin --sleep=x --count=x keeps looping
#
# Executing mysqladmin with --sleep=1 and --count=2.
# Done.
# Displaying the output :
mysqld is alive
mysqld is alive
#
# BUG#11766184 - 59234: cmdline clients crash --defaults-extra-file
# with no .cnf or .ini extension.
#
# Creating an empty file 'cnf_file'
# Using --defaults-extra-file option with 'cnf_file'.
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
mysqld is alive
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
mysqld is alive
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
mysqld is alive
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
mysqld is alive
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
mysqld is alive
CREATE USER testadmin_user1;
FLUSH PRIVILEGES;
mysqld is alive
DROP USER testadmin_user1;
CREATE USER tester@localhost IDENTIFIED WITH caching_sha2_password BY 'abcd';
mysqld is alive
mysqld is alive
DROP USER tester@localhost;
#
# Bug#12688860 : SECURITY RECOMMENDATION: PASSWORDS ON CLI
#
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
mysqld is alive
#
# Bug#21796658: OLD-PASSWORD SUBCOMMAND IS STILL IN MYSQLADMIN --HELP IN 5.7
#
# execute mysqladmin --help
# check the output of mysqladmin for old-password
include/assert_grep.inc [check the output of mysqladmin for old-password]
# cleanup
End of tests