mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
8 lines
341 B
PHP
8 lines
341 B
PHP
|
# Initiates a clean shutdown of the server and waits for its completion
|
||
|
|
||
|
--exec $MYSQLADMIN --no-defaults -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
|