mysql server connection issue
nikserg
PROOP

3 months ago

Can't connect to MySQL server on 'mysql.railway.internal

Solved

2 Replies

nikserg
PROOP

3 months ago

railway ssh says:

✓ Connected to interactive shell

Session error


sam-a
EMPLOYEE

3 months ago

Your MySQL service is running successfully. The railway ssh "Session error" on database services is a known issue - the SSH feature is designed for application services with a shell, not database containers. To debug the MySQL connection issue, we need a bit more context: which service is trying to connect to MySQL, and what is the full error message? Also, make sure you're using reference variables like ${{MySQL.MYSQLHOST}} and ${{MySQL.MYSQLPORT}} from the connecting service, and that both services are in the same environment.


Status changed to Awaiting User Response Railway 3 months ago


Railway
BOT

2 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 2 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...