MySQL :: MySQL 5.0 Reference Manual :: 20.6 MySQL C API
The C API provides low-level access to the MySQL client/server protocol and enables C programs to access database contents. The C API code is distributed with MySQL and implemented in the libmysqlclient library. See Section 20.6.1, “MySQL C API ......