Connection issues to mysql
park-dev123
HOBBYOP

2 months ago

My MySQL database stopped working a few days ago. I’ve tried restarting and redeploying it, and while the UI shows it was deployed successfully, I still can’t connect to it—either from the Railway database view, which gets stuck on “Attempting to connect to the database,” or locally.

Here are the deployment logs:

2026-03-16T08:23:20.071373675Z [inf] 2026-03-16 08:23:19+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.6.0-1.el9 started. 2026-03-16T08:23:20.071383776Z [inf] 2026-03-16 08:23:19+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 2026-03-16T08:23:20.071389692Z [inf] 2026-03-16 08:23:19+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.6.0-1.el9 started. 2026-03-16T08:23:20.329000915Z [inf] '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock' 2026-03-16T08:23:20.439529119Z [inf] Mounting volume on: /var/lib/containers/railwayapp/bind-mounts/0e70cf07-ca99-4a09-abb0-5b1d81ffcafc/vol_2gaff0l568utdsup 2026-03-16T08:23:20.439530762Z [inf] Starting Container 2026-03-16T08:23:20.471015526Z [err] 2026-03-16T08:23:20.291980Z 0 [System] [MY-015015] [Server] MySQL Server - start. 2026-03-16T08:23:20.471027094Z [err] 2026-03-16T08:23:20.409624Z 0 [Warning] [MY-015641] [Server] Server ignores the discovered container restrictions as --container_aware is OFF 2026-03-16T08:23:20.471034020Z [err] 2026-03-16T08:23:20.409676Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 9.6.0) starting as process 1 2026-03-16T08:23:20.471039776Z [err] 2026-03-16T08:23:20.409689Z 0 [System] [MY-015590] [Server] MySQL Server has access to 48 logical CPUs. 2026-03-16T08:23:20.471047048Z [err] 2026-03-16T08:23:20.410059Z 0 [System] [MY-015590] [Server] MySQL Server has access to 412550590464 bytes of physical memory. 2026-03-16T08:23:20.471052743Z [err] 2026-03-16T08:23:20.419024Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 2026-03-16T08:23:22.557295987Z [err] 2026-03-16T08:23:22.213605Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. 2026-03-16T08:23:22.736914469Z [err] 2026-03-16T08:23:22.679220Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed. 2026-03-16T08:23:22.736924738Z [err] 2026-03-16T08:23:22.679254Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel. 2026-03-16T08:23:22.736933099Z [err] 2026-03-16T08:23:22.682937Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory. 2026-03-16T08:23:22.757800996Z [err] 2026-03-16T08:23:22.757029Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock 2026-03-16T08:23:22.757808010Z [err] 2026-03-16T08:23:22.757082Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '9.6.0' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server - GPL.

Solved

0 Replies

Status changed to Awaiting Railway Response Railway 2 months ago


Status changed to Solved park-dev123 2 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...