Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just installed postgresql9.0.3 and when I went to the bin to run psql it asked for a password....I am typing the password which I gave at the time of installation but nothing is being written on the screen...when I press enter the psql closes.

What could be the problem?

share|improve this question

migrated from Mar 12 '11 at 11:38

This question came from our site for professional and enthusiast programmers.

@albin can u plz solve my problem – avinash Mar 12 '11 at 9:10
On which OS are you installing PostgreSQL? – Chakra Mar 12 '11 at 9:22

The most common reason seems to be that psql will usually assume your PostgreSQL user name is the same as your login name. If it's a new installation of PostgreSQL, you probably have only one username defined, though, and that's "postgres".

psql -U postgres

You might also need the -d, -h, and -p options.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.