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