-
Notifications
You must be signed in to change notification settings - Fork 460
use_sql can not connect to remote server #125
Copy link
Copy link
Closed
Description
pg_dump is not connecting to remote database
[1] pry(main)> Apartment::Database.create 'en'
(4.4ms) CREATE SCHEMA "en"
pg_dump: [archiver (db)] connection to database "..." failed: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
(1.6ms) SET search_path = en, public;
pg_dump: [archiver (db)] connection to database "bithub_development" failed: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
(1.3ms) SET search_path = en, public;
=> nil
[2] pry(main)> Location.first
Location Load (19.8ms) SELECT "locations".* FROM "locations" ORDER BY COALESCEweight,0) DESC LIMIT 1
=> #<City id: 50300, name:.......
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels