Issue with MySQL server crashing due to version incompatibility
fernandezalex
HOBBYOP

2 years ago

Hello Railway Team,

I am encountering an issue with the MySQL service in my project hosted on Railway. The service keeps crashing, and based on the logs, it seems to be related to a version mismatch in MySQL. Specifically, I am getting the following errors:

Log excerpt:
"Cannot boot server version 80030 on data directory built by version 80300. Downgrade is not supported."
"Failed to initialize DD Storage Engine."
"Data Dictionary initialization failed."
It seems that the database was built using a newer version of MySQL (8.0.30), but the current MySQL service is attempting to run on an older or incompatible version.

Steps I’ve taken:

Tried connecting to the MySQL database using TablePlus, but I received a "Lost connection to MySQL server at 'reading initial communication packet'" error.
Attempted to restart the service multiple times, but it keeps failing with the same logs.
My questions:

Is there a way to update the MySQL version on Railway to match the version that was used to build the database (8.0.30 or later)?
If updating is not possible, can you provide guidance on how to back up the database in its current state so I can restore it in a compatible environment?
Any guidance or help would be greatly appreciated. Thank you!

Additional Info:

My project name is "Laia Beauty Care"
Region: us-west1
MySQL version trying to boot: 8.0.30

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

0 Replies

Loading...