I am trying to run the createuser command on a newly installed instance of a postgresql90 server with macports and Im getting this error.
createuser: failed to connect to the postgres database: failed to connect to the server: permission denied The server works locally and accepts connections in the Unix juice of the domain "/var/pgsql_socket/.s.PGSQL.5432"?
However, if I run psql, it connects to the database without problems, what could be the problem?
source
share