Learn Relational Databases by Building a Mario Database

Hello all, I have been working on this module and as of about a week ago I am now seeing the errors shown in my screenshot. I have tried many times resetting it per the directions in the pinned comment but am having no luck.

On the left side under the freecodecamp folder it is in red now, with that red dot shown. And when in the terminal I attempt to “login” to the database, i get an error:

codeally@6511a9cd78bc:~/project$ psql --username=freecodecamp --dbname=mario_database
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?

I have also included a screenshot of what this looks like. Any ideas on how else I can try to restart this/fix the error?

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