7. Writing MySQL Programs Using C
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 that establish and terminate a session with a server
- Routines that construct SQL statements, send them to the server, and process the results
- Status-checking and error-reporting functions for determining the exact reason for an error when an API call fails
- Routines that help you process options given in option files or on the command line
This chapter shows how to use the C client library to write your own programs, using conventions that are ...
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.