Why can't I connect to the database
chenyimin9
FREEOP

6 months ago

Why can't I connect to the database

$10 Bounty

3 Replies

Railway
BOT

6 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


6 months ago

Hi, is your database accessible through a external tool? Or through other services on railway?


samiam
PRO

6 months ago

Hi - can you also confirm that your MYSQL_ROOT_PASSWORD and MYSQLPASSWORD match on your MySQL service?

If you change one and not the other, you would get exactly the error you see, as MYSQL_ROOT_PASSWORD is what is used to create the root password when the database is deployed and MYSQLPASSWORD is what is being used to access the database.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...