Skip to content

Database issue #514

Closed
Closed
@Gojak10

Description

@Gojak10

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
.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions