Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

3
Extremely confused about psql shell after adding to PATH. Wants username for my computer?
Post Flair (click to view more posts with a particular flair)
Post Body

I'm taking a sql course that uses postgres but almost exclusively uses the sql shell called psql and doesnt use something like PgAdmin4 (extra scary for a non-tech person like me).

The course wants me to somehow create a ".sql" file called build.sql. In order to do this, I apparently need to add postgres to my PATH (another scary thing given my technological illiteracy). So I've googled that and added the postgres/bin directory to the system variables on my computer.

Now, when I open up the command prompt (regular one) and type "psql", it asks for a password. But the username is the one for my actual computer and anything I type is wrong. Even the actual password for my laptop.

What did I do wrong here? The course doesnt mention this, and I have no idea what to do unfortunately.

Author
Account Strength
90%
Account Age
6 years
Verified Email
Yes
Verified Flair
No
Total Karma
1,745
Link Karma
940
Comment Karma
805
Profile updated: 2 days ago
Posts updated: 8 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
2 years ago