We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39ede0e commit 5fa0d9cCopy full SHA for 5fa0d9c
rails/master/runner
@@ -1,6 +1,15 @@
1
#!/bin/bash
2
set -e
3
4
+until pg_isready -h postgres; do
5
+ sleep 1
6
+done
7
+
8
+while ! mysqladmin ping -h mysql --silent; do
9
+ echo "mysql - no response"
10
11
12
13
dropdb --if-exists -h postgres -U postgres rubybench
14
createdb -h postgres -U postgres rubybench
15
echo "DROP DATABASE IF EXISTS rubybench" | mysql -u root -h mysql
sequel/master/runner
0 commit comments