Chapter 17. C API
This chapter covers the C API provided by MySQL. The first part
provides a basic tutorial on how to connect to MySQL and how to query MySQL
with C and the C API. Following the tutorial is an alphabetical listing of
MySQL functions in the C API with explanations and, in most cases, examples.
At the end of this chapter is a listing of special data types for the C API.
For the examples in this chapter, I have used a database for a fictitious
computer support business. The database contains one table with client work
requests (workreq
) and another with client contact
information
(clients
).
Get MySQL in a Nutshell, 2nd Edition 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.