0

I am trying to connect to postgresql through command line in ubuntu but it is showing following error:-

psql: 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"?

For this error, I have tried many solutions from google but didn't succeeded. Can anyone help me on this issue?

1
  • 1
    See here Commented May 29, 2018 at 7:34

1 Answer 1

1

You local PostgreSQL server is not running.

Sign up to request clarification or add additional context in comments.

1 Comment

ALso, this is not a programming question. There are probably better places to ask fro help.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.