psql error role does not exist code example Example: psql: error: FATAL: role "postgres" does not exist createuser -U postgres -s YOURUSERNAME createdb YOURUSERNAME