#P1001: can't reach database server
16 messages · Page 1 of 1 (latest)
Project ID: N/A
It looks like the issue is that the database server is not running at the specified address (containers-us-west-24.railway.app:6298). You need to make sure that the database server is running at that address before running the prisma migrate command.
check if your app running on data provided by railway
How to check that? On dashboard of railway?
Dashboard -> your postgress app -> connect
Now you need to check if your app is connecting with this database.
.
By adding the database_url in env file I am connecting the database. But it is not connecting
When I started the project in morning it was working but after a break I continued again but not working
you want to use the provided environment variables
https://docs.railway.app/databases/postgresql#connect
and stay way from putting production secrets in an .env file
Hi! Was this issue solved? I'm having the same problem