#P1001: can't reach database server

16 messages · Page 1 of 1 (latest)

shrewd igloo
#

when I do npx prisma migrate dev. It shows error in terminal that P1001: can't reach database server

fickle daggerBOT
#

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.

shrewd igloo
#

How to do that

#

How I can see if the database is running at the server

tiny dome
#

check if your app running on data provided by railway

shrewd igloo
#

How to check that? On dashboard of railway?

tiny dome
#

Dashboard -> your postgress app -> connect

shrewd igloo
#

And then?

#

I am in connect section

tiny dome
#

Now you need to check if your app is connecting with this database.

tiny dome
shrewd igloo
#

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

dense basin
spice goblet
#

Hi! Was this issue solved? I'm having the same problem