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?