(已废弃)PostgreSQL 连接超时问题

navicat连接postgresql经常断开的问题解决
pgsql:提示“server closed the connection“,日志显示连接数过多,对不起已经有太多的用户 2022-04-26 02:39:43

1
2
3
4
5
6
7
8
9
10
11
12
13
14
----------------mkdir -p /app/docker/postgresql
----------------
----------------docker cp postgresql01_tencent_password:/var/lib/postgresql/data/postgresql.conf /app/docker/postgresql/
----------------
----------------
----------------vim /app/docker/postgresql/postgresql.conf
----------------
----------------docker cp /app/docker/postgresql/postgresql.conf postgresql01_tencent_password:/var/lib/postgresql/data/
----------------
----------------
----------------
----------------
----------------docker restart postgresql01_tencent_password
postgresql01_tencent_password

补充,2022-05-21 06:57:24,后面也不是这个问题。

2022-05-21 17:11:20
参考:PG数据库(Postgresql)解决远程易掉线问题

2022-05-21 18:21:51
根本就不是pg问题,而是vpn的问题。
连接公司vpn,不稳定。