您好,欢迎访问一九零五行业门户网

Linux下otl调用MySQL数据库_MySQL

整体流程结构otl用头文件otlv4.h来声明接口,具体实现在linux下是由unixodbc来实现;通过freetds驱动最终调用mysql的dbms(个人观点)
要安装的软件及步骤所以要安装的有unixodbc,freetds
具体安装参考:http://wenku.baidu.com/view/89e9e711a2161479171128de.html(此文章里面的设置有问题,参考本文中的“关于odbcinst.ini和odbc.ini的说明一节”)
关于odbcinst.ini和odbc.ini的说明参考:http://blog.chinaunix.net/uid-7240278-id-131816.html 这篇文章中提到了默认的odbcinst.ini的位置在/usr/local/etc,这是在安装unixodbc是产生的,可以通过odbcinst -j指令来查看其具体位置
however since beta 1.6 the location of the system files odbcinst.ini and odbc.ini are determined by the configure script. the default location is /usr/local/etc, and if a prefix is specified the location is {prefix}/etc. the location of the etc path can be broken out of the normal prefix tree by specifing --sysconfdir=dir, so the following will expect the system files to be in the same location as pre 1.6 builds.
./configure --sysconfdir=/etc
其它类似信息

推荐信息