summaryrefslogtreecommitdiff
path: root/community/percona-server/mysqld-post
blob: 8c404f4c4eb0488346a5c98648301f4c6ca9d006 (plain)
1
2
3
4
5
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