MySQL client libraries and include files from MySQL 4.0.0 or higher. (Preferably MySQL 4.0.16 or higher). This is required because MyODBC uses new calls and structures that exist only starting from this version of the library. To get the client libraries and include files, visit http://dev.mysql.com/downloads/.
The MySQL library must be configured with the
--enable-thread-safe-client
option.
libmysqlclient installed as a shared library.
One of the following Unix ODBC driver managers must be installed:
iodbc
3.0 or later
(http://www.iodbc.org)
unixodbc
Alpha 3 or later
(http://www.unixodbc.org)
If using a character set
that isn't compiled into the MySQL client library (the
defaults are: latin1 big5 czech euc_kr gb2312 gbk sjis
tis620 ujis) then you need to install the mysql character
definitions from the charsets
directory into SHAREDIR
(by
default,
/usr/local/mysql/share/mysql/charsets
).
These should already be into place if you have installed
the MySQL server on the same machine.
Once you have all the required files, unpack the source files to a separate directory and follow the instructions as given below:
This is a translation of the MySQL Reference Manual that can be found at dev.mysql.com. The original Reference Manual is in English, and this translation is not necessarily as up to date as the English version.