I installed postgresql server on Linux Mint, however, all I get from it is
"FATAL: role "username" does not exist".
I've tried the following commands (probably some more):
psql
psql --list
psql \du
psql \l
psql -d template1
createuser -s -r postgres
Same thing happens if I switch the user to postgres:
su - postgres
The postgresql version is 9.3.
What's the correct approach on solving this? Thanks.