This chapter describes some of the 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’ll 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.
MySQL distributions include a set of client programs. For example,
mysqldump exports table definitions and contents,
mysqlimport loads data files into tables,
mysqladmin performs administrative operations, and
mysql lets you interact with the server to execute arbitrary SQL statements.
The standard ...