diff options
author | James Meyer <james.meyer@operamail.com> | 2012-10-29 19:05:46 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-10-29 19:05:46 (GMT) |
commit | 88b26331f2219c06ed6624d4e3094cd9e8ad7757 (patch) | |
tree | 472c35ab18a483d2d55243964d736c76db78b097 /abs/core/mysql/mysqld-post.sh | |
parent | a669c8442c818a1288d80f101faafe15400c7ab1 (diff) | |
download | linhes_pkgbuild-88b26331f2219c06ed6624d4e3094cd9e8ad7757.zip linhes_pkgbuild-88b26331f2219c06ed6624d4e3094cd9e8ad7757.tar.gz linhes_pkgbuild-88b26331f2219c06ed6624d4e3094cd9e8ad7757.tar.bz2 |
mysq: update to 5.5
Diffstat (limited to 'abs/core/mysql/mysqld-post.sh')
-rwxr-xr-x | abs/core/mysql/mysqld-post.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/abs/core/mysql/mysqld-post.sh b/abs/core/mysql/mysqld-post.sh new file mode 100755 index 0000000..8dc9c4e --- /dev/null +++ b/abs/core/mysql/mysqld-post.sh @@ -0,0 +1,7 @@ +#!/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 |