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