LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cann't connect to PostgreSQL

I cann't connect to PostgreSQL.

I have database_connectivity_toolkit, and thy to connect PostgreSQL with ODBC driver, but have a error:Screenshot - 15.10.2013 , 11_24_14.png

 

Also I have LabSQL. And when I try connect with next string: "Driver={PostgreSQL};Server=localhost;Port=5432;Database=postgres;Uid=postgres;Pwd=mypass;"I also have error:

Screenshot - 15.10.2013 , 11_26_53.png

I cann't find good information about this in internet and don't know what to do. Help me.

0 Kudos
Message 1 of 3
(3,614 Views)

Try using connection string, http://www.connectionstrings.com/postgresql/. Input string to connection information.

0 Kudos
Message 2 of 3
(3,601 Views)
The problem is that the driver name you specified is incorrect. The site Kate pointed you to is very good for sorting out this sort of thing. In addition, try to find a native ADO or OLEDB drivers. You will get much better performance.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 3 of 3
(3,595 Views)