P
Prisma3mo ago
Spctr

ERROR P1001: Can't reach database server

Hi everyone, I'm getting the error message that my database server ist not reachable. But the server is running I can connect to the database with DataGrip.
No description
9 Replies
Spctr
SpctrOP3mo ago
I've tried this command
prisma migrate dev --name init
prisma migrate dev --name init
DevPanda
DevPanda3mo ago
is your connection url correct? @Spctr
Spctr
SpctrOP3mo ago
yes, I can use it within datagrip
DevPanda
DevPanda3mo ago
do you try it from the same system? when not, check your firewall maybe
Spctr
SpctrOP3mo ago
i've tried it with the same string in datagrip on my current device in the same network.. only my ide doesn't like it i don't know why .. but it worked at home on my pc .. i haven't changed anything
Eli S
Eli S3mo ago
What type of database and what type of connection string is it (hiding any username/password/ip if you choose to show it)? For example if it has TLS certs in it, know that those are handled differently by prisma than regular connection strings.
Dkyc
Dkyc2mo ago
might be a cache issue on the IDE part. i need to restart my IDE sometimes for it recognize changes in prisma client as an example
Spctr
SpctrOP2mo ago
mysql database and the default string with username and password and no certs it just works at home
Eli S
Eli S2mo ago
Where is the failure, in like a CI or on a AWS instance or somewhere else? If so, it may not have outbound permissions or something Or is there an unstable connection between the two, if so, you may need to increase the timeout to get the pool set up from this other location
Want results from more Discord servers?
Add your server