-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Open
Description
Current Behavior
When deploying the panel using the official Docker image:
ghcr.io/pterodactyl/panel:latest
or
ghcr.io/pterodactyl/panel:v1.12.1
The container connects successfully to MariaDB, but fails during schema loading with:
database/schema/mysql-schema.sql ... FAIL
sh: mysql: not found
Exit Code: 127 (Command not found)
This results in a 500 Server Error and prevents the panel from starting properly.
Expected Behavior
Panel should initialize the database successfully without requiring the mysql CLI binary inside the container.
Steps to Reproduce
Deploy panel with Docker (v1.12.x or latest)
Use standard MariaDB (10.11 / 11.x)
Start stack
Check logs → failure during schema import
Panel Version
1.12.1
Wings Version
1.12.0
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
ln: /var/log/panel/logs: File exists
external vars exist.
Checking if https is required.
Checking if letsencrypt email is set.
No letsencrypt email is set using http config.
Removing the default nginx config
Checking database status.
Waiting for database connection...
Waiting for database connection...
Waiting for database connection...
Waiting for database connection...
Waiting for database connection...
Waiting for database connection...
Waiting for database connection...
Waiting for database connection...
ptero-mariadb (172.21.0.11:3306) open
Migrating and Seeding D.B
INFO Preparing database.
Creating migration table ...................................... 23.64ms DONE
INFO Loading stored database schemas.
database/schema/mysql-schema.sql .............................. 21.77ms FAIL
In Process.php line 280:
The command "mysql --user="${:LARAVEL_LOAD_USER}" --password="${:LARAVEL_L
OAD_PASSWORD}" --host="${:LARAVEL_LOAD_HOST}" --port="${:LARAVEL_LOAD_PORT}
" --database="${:LARAVEL_LOAD_DATABASE}" < "${:LARAVEL_LOAD_PATH}"" failed.
Exit Code: 127(Command not found)
Working directory: /app
Output:
================
Error Output:
================
sh: mysql: not found
Starting cron jobs.
Starting supervisord.
2026-02-27 15:57:20,965 CRIT Server 'unix_http_server' running without any HTTP authentication checkingIs there an existing issue for this?
- I have searched the existing issues before opening this issue. I understand that maintainers may close this issue without communication if I have not provided sufficient information.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels