1👍
Found the answer courtesy of Bradley Ayers:
- set “unix_socket_directory” to “/var/pgsql_socket/” in postgres.conf
- executed following commands:
- “$ sudo dscl . append /Groups/_postgres GroupMembership postgres”
- “$ sudo chmod g+w,o+rx /var/pgsql_socket/”
- restarted postgresql
0👍
your database is not running try
pg_ctl -D /usr/local/var/postgres start
assuming thats where your postgre data directory is
- [Answer]-How to show related model fields when a foreign key is selected without submitting the form in django?
- [Answer]-Will RepMgr supports different versions of postgresql in master and slave
- [Answer]-Django: template forloop multiple dictionaries
Source:stackexchange.com