how to test mysql connection on railway
lyho1610
FREEOP
10 months ago
It seems like railway blocks connections from the outside, so I don't know how to test mysql service on railway to see if the connection is successful or not, which leads to the source I deployed keeps reporting errors because it cannot connect to the database. Can anyone help me?
1 Replies
echohack
EMPLOYEE
10 months ago
Hey lyho,
You should be able to add a tcp proxy to your MySQL Service, redeploy the Service, and then connect with your favorite MySQL management application.
Here's a guide on how to setup TCP Proxy: https://docs.railway.com/guides/public-networking#tcp-proxying
Status changed to Awaiting User Response Railway • 10 months ago
Status changed to Solved echohack • 10 months ago