Connect Postgresql to Delphi 7 through Zeoslib

Asked

Viewed 388 times

3

I’m trying to connect Postgresql in Delphi 7, I found in a forum the idea of using Zeoslib to make this connection watching a video class I reached this setting:

inserir a descrição da imagem aqui

But even following step by step how to configure, whenever I try to make the connection the following error window occurs:

inserir a descrição da imagem aqui

Any hints of what might be happening?

  • According to this tread, your client does not support the authentication method. You can change the client version or change the authentication method in the file pg_hba.conf.

  • And what change would I have to make in this file?

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 found that the error could be on the line:

host all 127.0.0.1/32 md5

and would need to edit to:

host all 127.0.0.1/32 password

After this change the error no longer occurred.

  • Then mark your answer as accepted

  • @durtto I can only accept my answer from tomorrow

  • rs, all right...

Browser other questions tagged

You are not signed in. Login or sign up in order to post.