connection to mysql service with workbench
almeidatech
HOBBYOP

2 years ago

So, I read all the posts about connecting to the mysql service externally (like workbench), I also read the documentation. I created the public domain for my service (mysql-production-b898.up.railway.app), port 3306, I use the password provided in the variables {MYSQL_ROOT_PASSWORD} and {MYSQLPASSWORD}, which are the same. But friends, it doesn't connect to either workbench or heideSQl... the error is always the same: Failed to connect to mysql at {host}:3306 with user root... I also changed the root password, but it doesn't connect... I need help. Thanks

Solved

3 Replies

2 years ago

Hello,

You need to be using a TCP Proxy, not a domain name.

Remove the domain and add a TCP Proxy.


Status changed to Awaiting User Response Railway over 1 year ago


2 years ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody over 1 year ago


almeidatech
HOBBYOP

2 years ago

solved!

Attachments


2 years ago

Awsome!


Status changed to Solved brody over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...