w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Postgres, a fresh install of Mavericks and rails. Cannot fix this database connection issue...

Your client (psql or whatever) is configured to look for unix sockets in /var/run but your server is using /tmp. This suggests that your psql is an old version rather than whatever you compiled - check your PATH.

You can use the path as a hostname:

psql -h /tmp -p 5432 ...

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.