Page 1 of 1

help >> cant connect to postgreSQL database

Posted: 24.11.2005, 17:15
by fishcg2
hi,
i m very new to posrgresql and delphi 6
i have a problem here...
every time i dropped anzeos connection and when i set the connection to true,
it give error:
SQL error : FATAL : password authentication failed for user "cgg"
what should i do?
is there i made any mistake in connecting to postgres?

Posted: 10.08.2007, 01:39
by jpseixas
I know it´s a very old message (2005), but... I had the same problem with zeoslib in Delphi and...

I don´t know why, but zeoslib zconnection show this odd error "password authentication failed" when you try to connect and did not specify the database in the zconnection properties. The default database used by postgresql is "postgres".

Remember that you do not need to specify the path, or a file, but only the name given to the database.

Hope it´s useful for someone who "google" this...