psql: error: could not connect to server: FATAL: role "postgres" does not exist mac code example
Example: psql: error: FATAL: role "postgres" does not exist
createuser -U postgres -s YOURUSERNAME
createdb YOURUSERNAME
createuser -U postgres -s YOURUSERNAME
createdb YOURUSERNAME