R
Railway11mo ago
MiguelHL

Mysql migration crashed

Hello,I use the automated plugin option to migrate my myql server, however I get an error in the logs when I perform the step "Migrate data". Project Id: f45cbc3f-9b17-4f9e-bd19-1bcb04bc9e7b
9 Replies
Percy
Percy11mo ago
Project ID: f45cbc3f-9b17-4f9e-bd19-1bcb04bc9e7b
Duchess
Duchess11mo ago
Thread has been flagged to Railway team by @Brody.
thomas
thomas11mo ago
Thanks for the flag Brody. Looking into this @MiguelHL
thomas
thomas11mo ago
"Set the OVERWRITE_DATABASE environment variable to overwrite the new database." It seems the new DB is not empty I think what you need to do is
thomas
thomas11mo ago
Railway
404 - Page not found
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
thomas
thomas11mo ago
to anything but an empty string and restart the migration unless you have put production data in to the new database for some reason in that case, you have opened a can of worms and I don't know how to close it without a lot more information about the data
MiguelHL
MiguelHLOP11mo ago
Add the environment variable OVERWRITE_DATABASE and restart the migration but still with the same error, I attach an image with all the logs that returns the instance I was checking, I think the problem is with the dependencies of the tables when migrating, if I am not mistaken the migration is done alphabetically and not in order of the dependencies of the tables
thomas
thomas11mo ago
From the logs you are not getting to that step at all: section "Dumping database from PLUGIN_URL" also mysqldump should be able to handle that condition I am not sure what is going on here I will look into it more within the next 24 hours
Want results from more Discord servers?
Add your server