How to find the ODBC driver name for a connection string?

亡梦爱人 提交于 2019-12-06 01:36:27

Use the ODBC Data Source Administrator app. Make sure you use the 32 bit or the 64 bit version depending on your applications build target. Then select the "File DSN" tab

Click the "Add" button, and select the driver you have installed

Then click the "Advanced" button

You can then copy and paste the correct driver name, and cancel out of the ODBC Data Source Administrator app

e.g.

DRIVER={PostgreSQL ODBC Driver(UNICODE)}

Add the rest of the parameters required, and you will have a working ODBC connection string for the currently installed version of the driver

e.g.

Driver={PostgreSQL ODBC Driver(UNICODE)};Server=ruru.nz;Port=5432;Database=TheInternet;Uid=tfd;Pwd=p455w0rd;

Enjoy :-)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!