SQL by Building a Student Database: Part 1

when running this psql --username=freecodecamp --dbname=postgres

I get this error message
psql: error: connection to server on socket “/var/run/postgresql/.s.PGSQL.5432” failed: No such file or directory
Is the server running locally and accepting connections on that socket?
and I can’t finish this one. If anyone knows something?
thank you!

Never mind I got it to work.

1 Like