The following discussion covers these topics:
• MySQL Connector/C supported platforms
• MySQL Connector/C distribution contents
• Obtaining and installing MySQL Connector/C
• Building client programs that use MySQL Connector/C
20.4.1. MySQL Connector/C Supported Platforms
The following table indicates the platforms on which MySQL Connector/C has been tested.
Table 20.28. Supported Platforms for MySQL Connector/C 6.0.2
Platform
Windows
Linux
Solaris
Mac OS X
FreeBSD
HP-UX
IBM AIX
20.4.2. MySQL Connector/C Distribution Contents
A MySQL Connector/C distribution contains the header, library, and utility files necessary to build
MySQL client applications that communicate with MySQL Server using the C API.
Distributions are available in binary and source formats. A binary distribution contains the header,
library, and utility components discussed following, compiled and ready for use in writing client
programs. A source distribution contains the source files required to produce the same headers,
libraries, and utilities included in a binary distribution, but you compile them yourself.
MySQL Connector/C distributions include these components:
• A set of
.h
include
• Static and dynamic libraries that C applications link to at link time. These libraries are located in the
directory. The library names depend on the library type and platform for which a distribution is
lib
built:
• On Unix (and Unix-like) sytems, the static library is libmysqlclient.a. The dynamic library is
libmysqlclient.so
• On Windows, the static library is
Windows distributions also include libmysql.lib, a static import library needed for using the
dynamic library.
• Utilities. MySQL Connector/C includes the
20.4.3. Obtaining MySQL Connector/C
To obtain a distribution, visit
Section 20.4.1, "MySQL Connector/C Supported
MySQL Connector/C Supported Platforms
Versions
Windows 2000, XP, Vista, Server 2003, Server 2008
RHEL 4, 5; SuSE LES 9, 10; generic
8, 9, 10
10.4, 10.5
6, 7
11.11, 11.23, 11.31
5.3
header files that C applications include at compile time. These files are located in the
directory.
on most Unix systems and
MySQL Connector/C
glibc
libmysqlclient.dylib
and the dynamic library is libmysql.dll.
mysqlclient.lib
mysql_config
downloads. For a list of supported platforms, see
Platforms".
2126
2-based Linux systems
on Mac OS X.
utility, located in the
bin
directory.
Need help?
Do you have a question about the 5.0 and is the answer not in the manual?
Questions and answers