In Linux, otl calls MySQL database _ MySQL

Source: Internet
Author: User
The entire process structure of otl calling MySQL database in Linux

Otl uses the header file otlv4.h to declare the interface. the specific implementation is implemented by unixODBC in linux. the FreeTDS driver is used to call the DBMS of MySQL (my opinion)

Software installation steps

Therefore, unixODBC and FreeTDS must be installed.

Specific installation reference: http://wenku.baidu.com/view/89e9e711a2161479171128de.html (the settings in this article are problematic, refer to the "odbcinst. ini and odbc. ini description section" in this article ")

Odbcinst. ini and odbc. ini

Reference: http://blog.chinaunix.net/uid-7240278-id-131816.html this article mentions the default odbcinst. the ini is located at/usr/local/etc. this is generated when unixODBC is installed. you can view the specific position through the odbcinst-j command.

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 keep Ct the system files to be in the same location as pre 1.6 builds.

./Configure -- sysconfdir =/etc

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.