Database issue
Gojak10 opened this issue · 1 comments
Describe the bug
Hello. I cant connect to PostgreSQL server.
I advanced in some steps in the tutorial: 'Learn Relational Databases by Building a Mario Database' (around 35%) but after this point database stopped to respond.
To Reproduce
Steps to reproduce the behavior:
- Go to 'Ctrl+Shift+P'
- Click on 'CodeRoad: Start'
- Scroll down to 'Terminal'
- Entered: psql --username=freecodecamp dbname=postgres
- See error: psql: error: could not connect to server: Connection refused
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Expected behavior
Connect to database.

Desktop:
- Platform: Windows
- OS: 10
- Version: 20H2
VSCode :
- Version: 1.60.
Additional context
Followed the steps to set-up CodeRoad on VS code from: https://www.freecodecamp.org/news/how-to-run-freecodecamps-relational-databases-curriculum-using-docker-vscode-and-coderoad/

.
Sorry for your struggles @Gojak10, and thanks for reporting. This is not a coderoad issue and is a problem with the tutorial. I would recommend closing this issue and creating a new one on the freeCodeCamp repo
The best way to go through the tutorials at the moment is to do it all in one session. There are some potential issues that arise sometimes when closing and continuing a tutorial or using the reset button.