Cannot connect to Postgres DB after changing password in variables
lyczkolukasz
TRIALOP

2 years ago

Hi all, I recently changed the password for my Postgres database. I changed the password in the variables section for the POSTGRES_PASSWORD variable. Since then I can see the newly set password in the application but when I connect to the database in my project I can only connect using the old password.

Solved

1 Replies

2 years ago

the variables alone can not to be used to change the password, they are only used to set the initial password when the database is deployed, aka they are single set only.

you would need to run a query on the database to change the password, and only then you can update the password in the service variables.

I don't know said query off the top of my head, but there would be countless tutorials surrounding this topic, as the procedure would not be related to railway itself.


Status changed to Solved Railway almost 2 years ago


Loading...