Ask A Question
You’re not receiving notifications from this thread.
could not connect to database postgres
Peter Boomsma asked in Databases
I'm trying to install postgresql but I'm running into an error when I try to create a user:
createuser: could not connect to database postgres: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
It sounds like postgres isn't running. There is a ton of information on managing it from here https://help.ubuntu.com/community/PostgreSQL