我正在使用 Windows,试图让我的数据库正常工作,这样我就可以在我的本地主机上创建一个超级用户。
我成功安装了 Postgres 9.2.1,但是当我尝试连接到服务器时,我得到:
Error connecting to the server: server closed the connection unexpectedly
This probably means the server terminated abnormally before or while processing the request.
在错误日志中:
PDT LOG: incomplete startup packet
PDT WARNING: pgstat wait timeout
LOG: could not receive data from client: An operation was attempted on something that is not a socket.
我完全卸载了我的防病毒软件并确保 Windows 防火墙已关闭。
我的服务器属性是默认的,并且 postgresql.conf 匹配它们:
Hostname: localhost
Port: 5432
我很难过如何调试这个。