5 months ago
Hello,
I'm trying to implement database replication and would appreciate your guidance on the best approach. I've attempted several methods without success:
1. MySQL Replication:
- I attempted to create a custom Dockerfile with the same settings as Railway's MySQL template
- Was unable to establish connection to the database
- Would like to understand if MySQL replication is possible on Railway
2. PostgreSQL Replication:
- I tried using the pg_easy_replicate template by Ray Chenn
- I need to set up a primary-replica (read-only) configuration
What is the recommended way to set up database replication on Railway?
Thank you for your help!
Best regards,
Leonardo
1 Replies
5 months ago
Hello,
We don't have any Railway specific guides on setting up database replication as it wouldn't be specific to Railway, we simply run the containers, so any guide that works with containers and replication will work as a guide for doing it on Railway!
Best,
Brody
Status changed to Awaiting User Response railway[bot] • 5 months ago