psql fatal role does not exist

I was setting up a postgres server and I got the message “psql fatal role ‘user’ does not exist”. Found a solution over here, basically:

CREATE USER jj5 SUPERUSER;
CREATE DATABASE dbname WITH OWNER jj5;

Leave a Reply