summaryrefslogtreecommitdiff
path: root/testing/mysql/mysqld-post.sh
blob: 8dc9c4eea9f6c3f6e042517e4b88e1612ce54b7c (plain)
1
2
3
4
5
6
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