0

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

Ahmad Zafar
  • 131
  • 1
  • 4
  • Is psql running? I don't know much about windows but maybe try this question: https://stackoverflow.com/a/46582472/12921091 – tblev May 08 '20 at 13:57

1 Answers1

1

Verify that PostgreSQL itself is up and running on your machine.