3 months ago
couldn't able to deploy the database as i'm getting the error in the pre deploye logs and getting crashed: 2025-02-10T06:23:42.141384Z 0 [System] [MY-015017] [Server] MySQL Server Initialization - start.
2025-02-10T06:23:42.146452Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 9.2.0) initializing of server in progress as process 75
2025-02-10T06:23:42.150164Z 0 [ERROR] [MY-010457] [Server] --initialize specified but the data directory has files in it. Aborting.
2025-02-10T06:23:42.150172Z 0 [ERROR] [MY-013236] [Server] The designated data directory /var/lib/mysql/ is unusable. You can remove all files that the server added to it.
2025-02-10T06:23:42.150243Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-02-10T06:23:42.151098Z 0 [System] [MY-015018] [Server] MySQL Server Initialization - end.
Mounting volume on: /var/lib/containers/railwayapp/bind-mounts/66f91a6d-2b89-4bab-8c28-391df329418a/vol_5z4ml55njbxyz820
2025-02-10 06:23:46+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.2.0-1.el9 started.
2025-02-10 06:23:47+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2025-02-10 06:23:47+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.2.0-1.el9 started.
2025-02-10 06:23:47+00:00 [Note] [Entrypoint]: Initializing database files
ⓘ Deployment information is only viewable by project members and Railway employees.
3 Replies
Status changed to Awaiting User Response railway[bot] • 2 months ago
2 months ago
it is active and working fine but, it says pre deployment is running all time , which is not completed can i know the reason :
Attachments
Status changed to Awaiting Railway Response railway[bot] • 2 months ago
Status changed to Awaiting User Response railway[bot] • 2 months ago
Status changed to Solved christian • 2 months ago