mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
mysql Not Found in Docker Image #253
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Morpheus636 on GitHub (Feb 10, 2025).
Current Behavior
When running the docker image with the
DB_CONNECTIONset tomysql,laravel fails to connect to the database to apply migrations because no mysql client is installed in the image.Expected Behavior
The panel should connect using an installed mysql client to apply the schema.
Steps to Reproduce
DB_CONNECTION: mysqlset and the database connection settings pointing to an empty database.docker logsfor the container.Panel Version
v1.0.0-beta17
Wings Version
N/A
Games and/or Eggs Affected
N/A
Docker Image
N/A
Error Logs
Is there an existing issue for this?
@Morpheus636 commented on GitHub (Feb 10, 2025):
Alternative solution seems to be removing
database/schema/mysql-schema.sql. The same error message gets printed but it goes on to apply the migrations instead of crashing out.