Sha256: 5a54018aadc8784dad5c95db2682a75a5080f633e6c146e490abe3a7a20ae3be
Contents?: true
Size: 619 Bytes
Versions: 12
Compression:
Stored size: 619 Bytes
Contents
#!/bin/bash # Wait for writer echo "Waiting for MySQL-1: " while ! (mysqladmin ping --host="127.0.0.1" --port=33006 --user=root --password=password --silent 2> /dev/null); do echo -ne "." sleep 1 done # Wait for reader echo "Waiting for MySQL-2: " while ! (mysqladmin ping --host="127.0.0.1" --port=33007 --user=root --password=password --silent 2> /dev/null); do echo -ne "." sleep 1 done # Wait for proxysql echo "Waiting for ProxySQL:" while ! (mysqladmin ping --host="127.0.0.1" --port=33005 --user=root --password=password --silent 2> /dev/null); do echo -ne "." sleep 1 done echo "All DBs are ready"
Version data entries
12 entries across 12 versions & 2 rubygems