Reputation: 129
I am using Windows bash for a Rails project with Postgre-sql. It's giving me the following error.
**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"?**
Couldn't create 'myrubyblog' database. Please check your configuration. rake aborted! ActiveRecord::NoDatabaseError: could not connect to server: No such file or directory
Upvotes: 0
Views: 169
Reputation: 26
Verify that PostgreSQL itself is up and running on your machine.
Upvotes: 1