Learn Relational Databases by Building a Database of Video Game Characters - Build a Database of Video Game Characters

Tell us what’s happening:

psql: error: FATAL: Peer authentication failed for user “freecodecamp”

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

Challenge Information:

Learn Relational Databases by Building a Database of Video Game Characters - Build a Database of Video Game Characters

can you show us a screenshot of your screen please?

I am also facing a similar issue. I have already done 50% of the course, and I don’t want to start again from the beginning.

Please help!

Here is the screenshot of the error(s)

A few things have changed since I started the course and did the first 50% of the course:

  1. You will notice that the terminal says “@camper@da9b2ff080c3”; it was simply “camper@” before
  2. I have copied new User tokens when I wasn’t sure what went wrong before I remembered to first enter “echo hello PostgreSQL” before trying this “psql --username=freecodecamp --dbname=mario_database”, and before I saw a forum topic where someone entered “sudo service postgresql start” in their terminal

Can you do an ls /proc in your terminal and capture the output, specifically any directories that are numeric?

Thanks for your reply. Here you go

i’ve been trying to figure out a way for you to get back your environment but unfortunately I don’t know of anything that will help.
I suspect that you may have rebuilt the container? Any time you rebuild the container, it will erase everything.

1 Like

Oh, I have indeed entered Dev Containers: Rebuild and Reopen in Container in my vscode command palette. I guess I should have only entered Dev Containers: Reopen in Container
Thanks for you help

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.