PostgreSQL ODBC deployment

spacer.gif

Installing ODBC Drivers

1 Download https://www.postgresql.org/ftp/odbc/versions/msi/

spacer.gif

 

spacer.gif

 

 

spacer.gif

 

spacer.gif

spacer.gif

OTL using to access the database, you need to specify the connection string as follows:

char szConn[512] =

{"Driver={PostgreSQL ANSI};Server=192.168.10.227;Port=5432;Database=pas;Uid=postgres;Pwd=admin12345"};

Wherein the back of the Driver string must be above the drive name Note: Only valid PostgreSQL


Guess you like

Origin blog.51cto.com/fengyuzaitu/2438827