Connect Mysql
kaom123
HOBBYOP
a year ago
I'm trying to connect to the database from my local environment but it tells me the host is incorrect
2 Replies
Railway
BOT
a year ago
Hey there! We've found the following might help you get unblocked faster:
- 🧵 migration failed error in MySQL
- 📚 Application Failed to Respond
- 🧵 mysqldump: Got error: 2005: Unknown MySQL server host 'monorail.proxy.rlwy.net'
If you find the answer from one of these, please let us know by solving the thread!
sanyasharma7
FREE
a year ago
Use the External Connection Details
In your Railway project:
- Go to Plugin → PostgreSQL/MySQL
- Click Connect
- Copy from “Connect from outside Railway” (not the internal one!)
It should look like:
Host: ep-example-db.region.compute.amazonaws.com User: postgres Password: ******** Port: 5432