Connect PostgreSQL to Delphi 7 via ZeosLib

3

I'm trying to connect to PostgreSQL in Delphi 7, I found in a forum the idea of using ZeosLib to make this connection by watching a video lesson I got to this configuration:

Butevenfollowingstepbystephowtoconfigure,wheneverItrytomaketheconnectionthefollowingerrorwindowoccurs:

Any suggestions on what might be happening?

    
asked by anonymous 19.10.2016 / 14:36

1 answer

3

I was able to solve the problem after the help of @Marcelo de Andrade regarding the file pg_hba.conf , I researched and discovered that the error could be on the line:

host all 127.0.0.1/32 md5

and you would need to edit for:

host all 127.0.0.1/32 password

After this change the error has not occurred anymore.

    
20.10.2016 / 12:33