a year ago
I have a project with a MySQL db and I cannot connect to it from another project using MYSQL_URL variable. However, MYSQL_PUBLIC_URL works.
I'm seeing error logs:
"Can't reach database server at `mysql.railway.internal:3306`"
"Please make sure your database server is running at `mysql.railway.internal:3306`"
I prefer to setup connection using internal URL to optimize latency.
5 Replies
a year ago
Private networking only works within a project. You can't connect a private MYSQL URL db to another project.
Status changed to Awaiting User Response Railway • about 1 year ago
unicodeveloper
Private networking only works within a project. You can't connect a private MYSQL URL db to another project.
a year ago
Thanks for your information
Status changed to Awaiting Railway Response Railway • about 1 year ago
a year ago
You are welcome.
Status changed to Awaiting User Response Railway • about 1 year ago
Status changed to Solved unicodeveloper • about 1 year ago
10 months ago
I have a similar issue, except everything is inside the same project. I am using the MYSQL_PRIVATE_URL provided, but still getting connection error to port 3306
Status changed to Awaiting Railway Response Railway • 11 months ago
christwardministry
I have a similar issue, except everything is inside the same project. I am using the MYSQL_PRIVATE_URL provided, but still getting connection error to port 3306
10 months ago
Please open your own thread for that.
Status changed to Awaiting User Response Railway • 11 months ago
Status changed to Closed brody • 11 months ago