Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database issue #514

Closed
Gojak10 opened this issue Sep 28, 2021 · 1 comment
Closed

Database issue #514

Gojak10 opened this issue Sep 28, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Gojak10
Copy link

Gojak10 commented Sep 28, 2021

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:

  1. Go to 'Ctrl+Shift+P'
  2. Click on 'CodeRoad: Start'
  3. Scroll down to 'Terminal'
  4. Entered: psql --username=freecodecamp dbname=postgres
  5. 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.
PostgreSQL db

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/
PostgreSQL db
.

@Gojak10 Gojak10 added the bug Something isn't working label Sep 28, 2021
@moT01
Copy link
Contributor

moT01 commented Oct 4, 2021

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.

@Gojak10 Gojak10 closed this as completed Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants