• 技术文章 >数据库 >mysql教程

    Linux下otl调用MySQL数据库_MySQL

    2016-06-01 13:13:29原创665

    整体流程结构

    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
    声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。
    上一篇:MySql安装时在Start Service处失败_MySQL 下一篇:MySQL和PostgreSQL导入数据对比_MySQL
    千万级数据并发解决方案

    相关文章推荐

    • mysql怎样只导出表结构• mysql设计概念及多表查询和事务操作• mysql怎么查询所有表及注释• mysql怎么判断是否是数字类型• mysql存储过程有什么变量类型
    1/1

    PHP中文网