diff options
Diffstat (limited to 'community/percona-server/mysqld-post')
-rw-r--r-- | community/percona-server/mysqld-post | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/community/percona-server/mysqld-post b/community/percona-server/mysqld-post new file mode 100644 index 000000000..8c404f4c4 --- /dev/null +++ b/community/percona-server/mysqld-post @@ -0,0 +1,6 @@ +#!/bin/sh +while true; do + response=`/usr/bin/mysqladmin -uUNKNOWN_USER ping 2>&1` && break + echo "$response" | grep -q "mysqld is alive" && break + sleep 1 +done |