I just installed postgresql 9.0 on my pc.
When it ask for password during install, I entered password.
after install I went to command prompt to import a SQL file.
I use the command psql -f filename.sql. This prompts me for a password to which I enter password.
It then complains that authentication failed for user Morne Nel. I dont exist as a user yet.
I then tried psql -h localhost -U postgres to which I enter the password password.
Only to get this message:
FATAL: Password authentication failed for user "postgres"
What Can I do to resolve this madness?
# Could it be that Jasper Reports server might have something to do with it, is also installs prostgres does iet not?
psql -h localhost -U postgresfails, then whatever password you're entering isn't the password you entered in the installer. You can reset the password though: dba.stackexchange.com/q/19643/7788postgresql.confin yourdatadirectory inside the install, or you can try port5433,5434, etc.