Cannot find pg_hba.conf and postgreql.conf file on OS X?
By default homebrew puts everything in /usr/local
So the postgresql conf files will be /usr/local/var/postgres/
If you can connect to Pg as the superuser (usually postgres
) simply SHOW hba_file;
to see its location.
Otherwise you have to find out how PostgreSQL is started to locate its data directory.
Worst case, you can search for it:
find / -type f -name pg_hba.conf 2> /dev/null