Set port default
This commit is contained in:
parent
2c00609f6a
commit
5654ffbf64
1 changed files with 1 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash
|
||||
MYSQL_PORT=${MYSQL_PORT:-3306}
|
||||
echo -n "Waiting for MySQL..."
|
||||
while ! mysqladmin ping -h"$MYSQL_HOST" -P"$MYSQL_PORT" --silent; do
|
||||
sleep 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue