I’m going through the Mario Database part and seem a bit stuck. I opened my VS Code, and now I’m not connected to the database. I remember there was a command to connect to it, but it was in the beginning, and now I’m a bit lost.
Can someone please provide the command ? I’m sure it will help me, I’m hoping that the database progress is still there. Thanks, have a great day)
I think it’s just
You can also look at the commands and steps in the tutorial.json file.
Not sure if you can just reconnect, you may have to start over.
Are you talking about this command?
psql --username=freecodecamp dbname=postgres
Happy holidays and may everything be smooth for you this year. Yeah, I was asking about this command, but alas — the program is still giving me this error.
It looks like it is the same issue with the user at the end of this thread.
Hi all, I am unable to connect to the psql server for the Mario Database course. I was able to connect yesterday, but today there is an issue. Can you please help? Venkatesh
I used this–>
psql --username=freecodecamp dbname=mario_database
When I try to continue a lesson, I get the same error message.
But if I start from the beginning, then it works perfectly.
Unfortunately, that is the best answer I can give you right now.
Here is Tom’s repsonse to the other post.
You can try running those commands he mentions to see if that works for you.
Did you close the tutorial or vscode and try to reopen and continue
Your best bet is to finish a tutorial in one session. Closing it and trying to reopen and continue can have issues sometimes. If you ls -a in the terminal there, and don’t see a few folders - you will likely need to start over, unfortunately. If you do see the folders, there’s a series of commands that run when you initially load a tutorial, that don’t get run when trying to continue. I will try and fix this. …
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.