Learn Relational Databases by Building a Mario Database - Build a Mario Database

Tell us what’s happening:

When i try to login using psql --username=freecodecamp --dbname=mario_database ,
I get an error that says
psql: error: connection to server at “127.0.0.1”, port 5432 failed: Connection refused
Is the server running on that host and accepting TCP/IP connections?
How do i fix this?

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/126.0.0.0 Safari/537.36

Challenge Information:

Learn Relational Databases by Building a Mario Database - Build a Mario Database

Hi logaranjan406,

I had the same issue but realized that I didn’t start the CodeRoad extension.

Once the virtual Linux machine is finished loading, start the CodeRoad extension by:

Clicking the "hamburger" menu near the top left of the VSCode window,
Going to the "View" menu,
Clicking on the "Command Palette" option,
and running the "CodeRoad: Start" command

Hope this helps :slight_smile:

Best
Adela