1
我正在使用Windows,試圖讓我的數據庫工作,所以我可以在我的本地主機上創建一個超級用戶。Postgres:連接到服務器的錯誤「一個操作嘗試在不是套接字的東西上。」
我成功安裝的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
我難倒如何調試這一點。