I had close connection without save the database. When I tried to reopen the project to recover the database, I got all the passing test that I had when I close it, but I can’t open th postgres shell, when I enter psql --username=freecodecamp --dbname=postgres the error message is:
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”?
Thanks
Your code so far
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
Challenge Information:
Number Guessing Game - Build a Number Guessing Game