1# Initiates a clean shutdown of the server and waits for its completion 2 3--exec $MYSQLADMIN -S $MASTER_MYSOCK -P $MASTER_MYPORT -u root --password= shutdown 2>&1; 4 5# On Windows mysqladmin does not wait for shutdown to be finished, 6# so we have to monitor this with our connection: 7--source include/wait_until_disconnected.inc 8