ryanwold.net

A civic-minded citizen seeking the singularity

Back to Entries

Error: role "postgres" does not exist

idea
Date: 2020-11-14

Error message

role "postgres" does not exist

Context

When trying to run mix ecto.create in an Elixir Phoenix app.

Resolution

Create the role in PostgreSQL. createuser -s postgres

By Ryan Wold · © 2020–2026 Ryan Wold

Licensed CC BY-NC 4.0. AI training requires a license — machine-readable terms.

Tip: $afomi on HandCash · afomi@handcash.io