Tell us what’s happening:
I am stuck at the second step. It tells me to write “psql --username=freecodecamp --db=postgres” in the terminal. An error occurs when I write it and it says no file or directory found. Maybe the default psql file is deleted. Please help me and tell me what to do to save that file or to pass this level.
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/184.108.40.206 Safari/537.36
Challenge: Learn Relational Databases by Building a Mario Database - Build a Mario Database
Thanks for the tip but I tried it and again, an error occured. The error: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 think you’re experiencing the connection errors which are affecting lots of other people right now. There have been outage problems with CodeAlly in the last few days but they’re intermittent. Hopefully it will be resolved very soon!