25 days ago
Hello,
I am experiencing a problem with my database. I changed the password, and since then, my data is no longer appearing. However, everything works fine on localhost.
Could you please tell me how to resolve this issue?
Thank you in advance.
9 Replies
25 days ago
I assume you're able to authenticate into the database just fine?
0x5b62656e5d
I assume you're able to authenticate into the database just fine?
25 days ago
yes sir
25 days ago
By localhost, are you connecting to the same database in Railway? Or is that a locally hosted database?
25 days ago
No, the database is not hosted locally.
It is the same database hosted by Railway that I use both locally and in production.
On localhost, when I start the server, my data works correctly. I am using the same DATABASE_URL (credentials).
However, in production, it does not work
0x5b62656e5d
By localhost, are you connecting to the same database in Railway? Or is that a locally hosted database?
25 days ago
No, the database is not hosted locally.
It is the same database hosted by Railway that I use both locally and in production.
On localhost, when I start the server, my data works correctly. I am using the same DATABASE_URL (credentials).
However, in production, it does not work
25 days ago
Did you redeploy the service that is using the DATABASE_URL after you changed the password?
darseen
Did you redeploy the service that is using the DATABASE_URL after you changed the password?
25 days ago
yes!
25 days ago
Try removing the DATABASE_URL variable and add it again, then redeploy. It might be using the old credentials.
darseen
Try removing the DATABASE_URL variable and add it again, then redeploy. It might be using the old credentials.
25 days ago
Ok I'm doing, and I will let you know the result
