summaryrefslogtreecommitdiff
path: root/mysql-test/include/mysqladmin_shutdown.inc
blob: be6153a60f9b5d190868feb06008b8c412091201 (plain)
1
2
3
4
5
6
7
# Initiates a clean shutdown of the server and waits for its completion

--exec $MYSQLADMIN -S $MASTER_MYSOCK -P $MASTER_MYPORT  -u root --password= shutdown 2>&1;

# On Windows mysqladmin does not wait for shutdown to be finished,
# so we have to monitor this with our connection:
--source include/wait_until_disconnected.inc