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