6. Introduction to MySQL Programming
This chapter describes reasons for writing your own MySQL-based programs rather than using the standard client programs included in MySQL distributions. It also gives a conceptual overview of the interfaces we use for the three languages covered in the following chapters (C, Perl, and PHP), and discusses factors to consider when choosing a language for a program.
6.1. Why Write Your Own MySQL Programs?
MySQL distributions include a set of client programs that communicate with the server. For example, mysqldump
exports table definitions and contents, mysqladmin
performs administrative operations, and mysql
lets you execute arbitrary SQL statements.
The standard client programs handle many of the most common ...
Get MySQL, 5th 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.