April 2013
Intermediate to advanced
1276 pages
42h 16m
English
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 open and close 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 that determine the reason for an error when an API call fails
• Routines that 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 reasonably consistent ...