I had a problem with a use MySQL in prisma ORM and logout my database in beekeeper
I had a problem with MySQL in railway
25 Replies
Project ID:
77debfcf-b556-4af4-92cc-82b64ff0b8db
77debfcf-b556-4af4-92cc-82b64ff0b8db
Hey
You were using the PRIVATE URL to connect to your DB
You need to use the PUBLIC URL
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
As you can see by your host mysql.railway.INTERNAL
I always connected using this url and never had a problem
ok
i try to connect a another url
public
Normally there's a "DATABASE_PUBLIC" in your environment variables
that normally looks like this
yes
olha isso ai
you just leaked your credentials
and your jwt
you are a malicious person ?
No, but this thread is public
I will change everything
Did u manage to connect to your db in beekeeper?
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"
Yes, I understand, but I would change all that
.
Did u connect in beekeeper?
no
Gonna talk to you in DMs since seems like you're having a language barrier issue.
not
sorry
sorry
in my variables i had a port 3306
I sent you a private message
Answer there
i don t understand
Not here