Postgres Auto Dropping the DB Randomly - database "template0" is not currently accepting connections #1222
Replies: 5 comments 1 reply
-
Unless you require access from another machine, then remove the |
Beta Was this translation helpful? Give feedback.
-
@yosifkit yes i understood that, but the issue is the ports is for the local docker container to access, and the instance is under vpc, so no outer people can access it, the issue is, after some time, the error i mentioned (database "template0" is not currently accepting connections), is coming up and then the dropping is happening, to confirm this, i tried multiple other times with same config, same error is happening, but other pg under same docker where i access tables with prisma, its not happening, so i was guessing there is issue in my config or the way i'm accessing |
Beta Was this translation helpful? Give feedback.
-
Im having the same problem on the postgres This is my userName and credentials to connect with the database |
Beta Was this translation helpful? Give feedback.
-
@Siddh4194 , tried bumping up postgres version? |
Beta Was this translation helpful? Give feedback.
-
hi @Harryalways317 , have you find out the solution for this ? |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm facing this error from multiple days, it happens on postgres inside docker.
It happens mostly after a hour,
the below is the service inside docker compose
init.sql
the connection im making
Any where i'm doing it wrong?
Beta Was this translation helpful? Give feedback.
All reactions