Re: Connect to PostgreSQL with kylix3

From: Carlos Ojea Castro <carlosojea(at)leveltelecom(dot)es>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Connect to PostgreSQL with kylix3
Date: 2004-02-13 11:54:24
Message-ID: 402CBAF0.1050200@leveltelecom.es
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>
>
>>>>In kylix3 I made a SQLConnection component (called 'SQLConnection1') to
>>>>connect to a PostgreSQL database. I started the PostgreSQL server so
>>>>Object inspector shows 'Connected: True' on that object.
>>>>
>>>>Then I made a SQLDataSet component (called 'SQLDataset1').
>>>>On 'SQLDataset1' I set SQLConnection to 'SQLConnection1', CommandType to
>>>>'ctQuery' and CommandText to 'SELECT * FROM pc104' (pc104 is a valid
>>>>table name).
>>>>But now, when I try to make 'SQLDataset1' Active to 'True', I get this
>>>>error message:
>>>>Access violation at address 43A92782, accessing address 43B09774
>>>>
>>>>
>>>What version of postgres? If 7.4, then you need to use an older libpq
>>>with kylix.
>>>
>>>
>>YES, my postgres version is 7.4.1.
>>What version of libpq I need to use? (And how could I make de change?)
>>Thank you
>>
>
>in /usr/local/pgsql/lib, change the libpq.so symbolic link to point to
>libpq.so.2.2
>
>klint.
>
>
Thank you, klint.
I made that, but now my SQLConnection component does not connect. When I
try to

make 'SQLConnection1' Active to 'True' I get this message:
dbExpress Error: Invalid Username/Password

Maybe I need another libpq?

Thanks,
Carlos

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Sullivan 2004-02-13 12:17:16 Re: Quad Xeon vs. Dual Itanium
Previous Message Karsten Hilbert 2004-02-13 10:59:35 Re: inheritance vs performance