PG::ConnectionBad: fe_sendauth: no password supplied
localhost as a host refers to a TCP connection, which means the auth method is md5 (password required) per your pg_hba.conf: # IPv4 local connections: host all all 127.0.0.1/32 md5 # IPv6 local connections: host all all ::1/128 md5 For the peer method to be taken, you’d need to connect through Unix domain sockets, and since you seem to be using … Read more