forked from brasten/sequel-rails
-
Notifications
You must be signed in to change notification settings - Fork 80
Can't create databases after you drop them #193
Copy link
Copy link
Open
Description
backend on try-sequel [!?] via 💎 v3.2.0
❯ bundle exec rails sequel:create:all
rails aborted!
Sequel::DatabaseConnectionError: PG::ConnectionBad: connection to server at "::1", port 5432 failed: Connection refused
Is the server running on that host and accepting TCP/IP connections?
connection to server at "127.0.0.1", port 5432 failed: FATAL: database "backend_development" does not exist
/home/quintasan/sauce/lndb/backend/config/environment.rb:7:in `<main>'
Caused by:
PG::ConnectionBad: connection to server at "::1", port 5432 failed: Connection refused
Is the server running on that host and accepting TCP/IP connections?
connection to server at "127.0.0.1", port 5432 failed: FATAL: database "backend_development" does not exist
/home/quintasan/sauce/lndb/backend/config/environment.rb:7:in `<main>'
Tasks: TOP => sequel:create:all => environment
(See full trace by running task with --trace)
I'm pretty much it's because it will try to connect to the database specified in config/database.yml which will not exist since we just dropped it :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels