Sample Header Ad - 728x90

Can’t connect to local PostgresSQL server

1 vote
1 answer
1569 views
I have the Postres app installed an running on my Mac. And it has worked beautifully. I don’t know what changed, but now I cannot connect to it from Rails, PG Commander, PG Admin or the command psql -h localhost. However, I can connect with just psql. I get the following error in the log as soon as the connection times out: LOG: incomplete startup packet Rails database.yml development: adapter: postgresql database: my_db host: localhost PG Commander settings: enter image description here pg_hba.conf: # "local" is for Unix domain socket connections only local all all trust # IPv4 local connections: host all all 127.0.0.1/32 trust # IPv6 local connections: host all all ::1/128 trust postgresql.conf: https://gist.github.com/davbeck/49a23a48fa161b3e06fc#file-gistfile1-txt
Asked by David Beck (111 rep)
Jan 29, 2014, 12:06 AM
Last activity: Apr 17, 2023, 03:06 AM