All Templates / Storage
MySQL Plugin Migration
Migrate from a legacy MySQL plugin to a V2 database service
mysql migration
railwayapp-templates/mysql-plugin-migration:latest
Just deployed
Service that will migrate data from a legacy MySQL plugin to a V2 database service.
PLUGIN_URL
: The MySQL URL of the legacy plugin. This is used as the source database.NEW_URL
: The MySQL URL of the V2 database service. This is used as the destination.No data is ever deleted from the plugin. You should delete the plugin manually after confirming that the migration was successful
View the migration script here
If you want to avoid egress charges, you should use the new database service MYSQL_PRIVATE_URL
Template Content
mysql migration
ghcr.io/railwayapp-templates/mysql-plugin-migration:latestPLUGIN_URL
MYSQL_URL
of the plugin to migrate the data from. _Hint: use ${{ MySQLPlugin.MYSQL_URL }}
NEW_URL
MYSQL_URL
of the V2 database service to migrate the data toDetails
Railway Templates
Created on Nov 3, 2023
12 total projects
6 active projects
50% success on recent deploys
Storage
More templates in this category