Issue in accessing PSQL database in VsCode

When i am trying to access database in VSCode for my RDB freeCodeCamp curriculum
it’s showing this error :
psql: 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”?
Please help me resolving it

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.