Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DB <app_name>_role with password must be created before creating app. #1

Open
kisiohlova opened this issue Feb 12, 2024 · 0 comments
Open

Comments

@kisiohlova
Copy link

If <app_name>_role doesn't exist the template will create new role without password and then rails db:create, rails db:migrate will fail:

rails  db:create db:migrate
connection to server at "::1", port 5432 failed: fe_sendauth: no password supplied
Couldn't create 'app_name_development' database. Please check your configuration.
rails aborted!
ActiveRecord::ConnectionNotEstablished: connection to server at "::1", port 5432 failed: fe_sendauth: no password supplied

Caused by:
PG::ConnectionBad: connection to server at "::1", port 5432 failed: fe_sendauth: no password supplied
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant