Chapter 6. The MySQL C API
MySQL provides a client library written in the C programming language that you can use to write client programs that access MySQL databases. This library defines an application programming interface that includes the following facilities:
Connection management routines to establish and terminate a session with a server.
Routines to construct queries, send them to the server, and process the results.
Status- and error-reporting functions for determining the exact reason for an error when other C API calls fail.
This chapter shows how to use the client library to write your own programs. Some of the goals we'll keep in mind are consistency with existing client programs in the MySQL distribution, as well as modularity ...
Get MySQL now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.