Can't connect to database (URGENT) lazarus / 16-Databases ---------------------------------------------------------------------- Nunovsky · 2011-05-24 20:04 Hi guys and girls, I have a problem.. I am using a TPQConnection on a form and when i put the Connected option on the Property box on 'True', appears a box with the following error: PQConnection1: Connection to database failed(PostgreSQL:fe_sendauth: authentication type 5 not supported) can somebody help me? Please? I have postgresql installed on my machine and i am trying to connect to a database locally... All answers are very welcome ---------------------------------------------------------------------- davesimplewear · 2011-05-25 07:04 what version of postgres do you have installed as it sounds like a version conflict ---------------------------------------------------------------------- Nunovsky · 2011-05-25 08:05 I've installed the 2.2.4 version of Free Pascal... ---------------------------------------------------------------------- JD · 2011-05-25 08:11 Quote from: Nunovsky on May 25, 2011, 10:05:20 amI've installed the 2.2.4 version of Free Pascal... What version of Postgres? Version 8.x, 9.x? You have to be specific. ---------------------------------------------------------------------- Nunovsky · 2011-05-25 08:37 It´s the 9.0.4-1 windows version of postgreSQL ---------------------------------------------------------------------- eny · 2011-05-25 09:53 Quote from: Nunovsky on May 25, 2011, 10:05:20 amI've installed the 2.2.4 version of Free Pascal... It would be a good idea to upgrade to the latest stable Lazarus vesion (0.9.30 with FPC 2.4.2). ---------------------------------------------------------------------- JD · 2011-05-25 10:33 Quote from: Nunovsky on May 25, 2011, 10:37:16 amIt´s the 9.0.4-1 windows version of postgreSQL Like eny said, update your version of Lazarus & try to connect to your database again.