Log to PostgreSQL in vscode terminal

Hi everyone! I’m currently working on the Celestial Bodies project. I’ve installed CodeRoad in VSCode, but now I’m having trouble logging in to the PostgreSQL database using this command: psql --username=freecodecamp --dbname=postgres .
What should I do? Thanks in advance!

try to use the name of the database you are using, it should be universe iirc


here is the problem

maybe you need to close and restart the VM

I apologize for not clarifying. I don’t work now in GitPod because my 50 monthly hours has finished. I am working now in Visual Studio Code in my laptop. I’ve followed the instructions in this article Relational Database Course – How to Learn SQL in VSCode Using Docker and freeCodeCamp to run my projects in CodeRoad in my laptop.