Skip to content

Commit 10aaf00

Browse files
authored
use DB_PORT for mysql database connection (pterodactyl#3762)
DB_PORT is the env variable defined for the mysql port into Panel Configuration.
1 parent b9d73af commit 10aaf00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/docker/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ fi
5757

5858
## check for DB up before starting the panel
5959
echo "Checking database status."
60-
until nc -z -v -w30 $DB_HOST 3306
60+
until nc -z -v -w30 $DB_HOST $DB_PORT
6161
do
6262
echo "Waiting for database connection..."
6363
# wait for 1 seconds before check again

0 commit comments

Comments
 (0)