Re: Connect to PostgreSQL with kylix3
От | Carlos Ojea Castro |
---|---|
Тема | Re: Connect to PostgreSQL with kylix3 |
Дата | |
Msg-id | 402CBAF0.1050200@leveltelecom.es обсуждение исходный текст |
Ответ на | Connect to PostgreSQL with kylix3 (Carlos Ojea Castro <carlosojea@leveltelecom.es>) |
Список | 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
В списке pgsql-general по дате отправления: