I have just installed postgresql ver. 6.5 on redhat linux 5.2 and Slackware 3.4. The postgresql installed properly and regression tests were working fine but when i used libpq++ and libpq for connecting to database it could not connect to the database in both the systems. All the queries are working fine when i tested on psql. The programs are working fine in my previous version 6.3.2. My programs compiled using libpq and libpq++ are not connecting to database can anyone help. I have installed both on the system on which postgresql-6.3.2 was installed. Thanks in advance for your help. Thanks & regards, Vicky