Tell us what’s happening:
It seems whenever I create a new rdb-alpha project now with databases on my local machine, they don’t work right.
- When first started, I cannot connect to postgresql. I check and postgresql is not running. I have to start it with “sudo service postgresql start”.
- Then, when I attempt to connect as -U freecodecamp, I get error "psql: error: FATAL: Peer authentication failed for user “freecodecamp”. Instead, I had to connect as -U postgres
Any ideas on why this is happening?
Your code so far
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
Challenge Information:
Build a Number Guessing Game - Build a Number Guessing Game