Skip to content

Instantly share code, notes, and snippets.

@hegyessy
Last active May 4, 2017 04:14
Show Gist options
  • Save hegyessy/6086fd6321b6219421fd22f60290db85 to your computer and use it in GitHub Desktop.
Save hegyessy/6086fd6321b6219421fd22f60290db85 to your computer and use it in GitHub Desktop.
Error and resolution when following Phoenix setup instructions
# after 'brew install postgres' and starting the service 'brew services start postgresql' to get rid of error:
# "FATAL 28000 (invalid_authorization_specification): role "postgres" does not exist"
psql -d template1
CREATE ROLE postgres LOGIN CREATEDB PASSWORD 'postgres';
# exit psql and run mix.create to set up the dev server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment