2 years ago
I had a problem with MySQL in railway
36 Replies
2 years ago
Hey
2 years ago
You were using the PRIVATE URL to connect to your DB
2 years ago
You need to use the PUBLIC URL
2 years ago
the PRIVATE URL can only be accessed between SERVICES HOSTED IN RAILWAY.
Since you're connecting from YOUR PC to a DB in RAILWAY you need to use the public
2 years ago
As you can see by your host mysql.railway.INTERNAL
2 years ago
Normally there's a "DATABASE_PUBLIC" in your environment variables
2 years ago
that normally looks like this

2 years ago
you just leaked your credentials
2 years ago
and your jwt
2 years ago
No, but this thread is public
2 years ago
Did u manage to connect to your db in beekeeper?
2 years ago
Please do, there's some thousands of people in this server and you also should never do something like this, even if it isn't a "malicious person"
2 years ago
.
2 years ago
Did u connect in beekeeper?
2 years ago
Gonna talk to you in DMs since seems like you're having a language barrier issue.
2 years ago
I sent you a private message
2 years ago
Answer there
2 years ago
Not here


