Why can't I connect to the database
chenyimin9
HOBBYOP
a month ago
Why can't I connect to the database
3 Replies
Railway
BOT
a month 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!
paulo
EMPLOYEE
24 days ago
Hi, is your database accessible through a external tool? Or through other services on railway?
samiam
PRO
21 days 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.