27 lines
578 B
Plaintext
27 lines
578 B
Plaintext
|
|
# We don't care about innodb warnings at this point
|
||
|
|
CALL mtr.add_suppression("InnoDB:");
|
||
|
|
# shut server down
|
||
|
|
# Server is down
|
||
|
|
#
|
||
|
|
# Bug #21680457: REDUCE THE NEW PASSWORD PRINTED BY
|
||
|
|
# --INITIALIZE TO A NOTE, NOT A WARNING.
|
||
|
|
#
|
||
|
|
# Run the server with --initialize
|
||
|
|
extract the root password
|
||
|
|
password found
|
||
|
|
# Restart the server against DDIR
|
||
|
|
# connect as root
|
||
|
|
# reset the password
|
||
|
|
SET PASSWORD='';
|
||
|
|
CREATE DATABASE test;
|
||
|
|
# shut server down
|
||
|
|
# Server is down
|
||
|
|
# close the test connection
|
||
|
|
# remove the password file
|
||
|
|
# delete mysqld log
|
||
|
|
# delete datadir
|
||
|
|
#
|
||
|
|
# Cleanup
|
||
|
|
#
|
||
|
|
# Restarting the server
|