summaryrefslogtreecommitdiff
path: root/testing/mysql/mysqld-post.sh
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-16 00:02:36 +0000
committerroot <root@rshg054.dnsready.net>2012-08-16 00:02:36 +0000
commit0fc1870f2eadde8cb06004be1cbe8d1a4333aa69 (patch)
tree09ae142c72b3ef3bba14bcd0fbd982446585d894 /testing/mysql/mysqld-post.sh
parent8f1eb849d6de0031d4d91fb6d8780828b1ba924b (diff)
Thu Aug 16 00:02:36 UTC 2012
Diffstat (limited to 'testing/mysql/mysqld-post.sh')
-rwxr-xr-xtesting/mysql/mysqld-post.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/mysql/mysqld-post.sh b/testing/mysql/mysqld-post.sh
new file mode 100755
index 000000000..6747c634c
--- /dev/null
+++ b/testing/mysql/mysqld-post.sh
@@ -0,0 +1,5 @@
+while true; do
+ response=`/usr/bin/mysqladmin -uUNKNOWN_USER ping 2>&1` && break
+ echo "$response" | grep -q "mysqld is alive" && break
+ sleep 1
+done