, explains the major components of MySQL and useful guidelines for other information on MySQL.
, describes how to get MySQL running on common operating systems supported by MySQL AB. It is necessary to read this chapter only if your system does not already have MySQL installed.
Part II, SQL Statements and Functions
, covers SQL statements and functions related to the management of user accounts and security.
, lists, explains, and provides examples of SQL statements and functions related to the creating, altering, and dropping of databases, tables, indexes, and views.
, covers any SQL statements and functions that involve the manipulation of datainserting, updating, replacing, or deleting.
, includes details and examples related to SQL statements and functions that might be used in the administration of databases, tables, or the server.
, includes SQL statements that strictly relate to replication. This chapter also includes a tutorial and an explanation of the replication process. It also explains the replication states to help in solving problems.
, covers statements specifically related to events, stored procedures, triggers , and user-defined functions.
, combines aggregate clauses (i.e., GROUP BY
) and functions that basically are only used with an aggregate clause. It also includes a tutorial on subqueries as they can be used to aggregate data.
, covers any functions that are related to the manipulation of strings of data.
, covers date and time related functions.
, explains and gives examples of strictly mathematical related functions.
, covers flow control functions such as CASE
and IF
.
Part III, MySQL Server and Client Tools
, covers the mysqld daemon and the mysql client and their options. It also explains scripts used to start the server (e.g., mysqld_safe
).
, describes the utilities that can be used to administer the MySQL server and data. It also includes utilities such as mysqldump
used for data backups.
Part IV, MySQL API
, covers the functions provided by MySQLs basic C library.
, presents the Perl DBI module, used to access MySQL databases from the programming language Perl.
, presents the PHP functions used to query and manipulate MySQL databases .
Appendixes
lists all the data types supported by MySQL.
lists all MySQL operators, such as arithmetic signs and the LIKE
and IS NULL
comparison operators.
lists the operating systems environment variables consulted by the MySQL server, client, and other utilities.
Conventions Used in This Book
The following typographical conventions are used in this book:
Plain text
Indicates menu titles, menu options, menu buttons, and keyboard accelerators (such as Alt and Ctrl).
Italic
Indicates new terms, URLs, email addresses, usernames, hostnames, filenames, file extensions, pathnames, and directories.
Constant width
Indicates elements of code, configuration options, variables, functions, modules, databases, tables, columns, command-line utilities, the contents of files, or the output from commands.
Constant width bold
Shows commands or other text that should be typed literally by the user.
Constant width italic
Shows text that should be replaced with user-supplied values.
Using Code Examples
This book is here to help you get your job done. In general, you may use the code in this book in your programs and documentation. You do not need to contact us for permission unless youre reproducing a significant portion of the code. For example, writing a program that uses several chunks of code from this book does not require permission. Selling or distributing a CD-ROM of examples from OReilly books does require permission. Answering a question by citing this book and quoting example code does not require permission. Incorporating a significant amount of example code from this book into your products documentation does require permission.