我正在使用 pgAdmin III 从客户端管理我的数据库。我有一个以流复制模式运行的主从 postgreSQL。他们前面还有另一个 pgpool 服务器来进行连接池和负载平衡。
当我将 pgAdmin 连接到 pgpool 时,我得到了:
Error connecting to the server: ERROR: unable to read message kind
DETAIL: kind does not match between master(52) slot[1] (45)
我之前连接它没有问题,但不知何故 pgpool 死了,我重新启动它,然后这个错误突然出现。
pgpool 和 postgreSQL 服务器运行良好。我可以使用psql -h hostname database user
. 应用程序服务器也可以连接到它,并且 Web 应用程序正常运行。我只是无法从 pgAdmin 访问它。