Chapter 2. Installing and Configuring MySQL

This is the first of three installation-related chapters, in which you will learn how to set up your development environment. We’ll tackle the MySQL installation first because building the PHP module requires bits of the MySQL installation to be complete, if you’re going to use MySQL with PHP.

In this chapter, you will learn

  • How to install MySQL

  • Basic security guidelines for running MySQL

  • How to work with the MySQL user privilege system

Current and Future Versions of MySQL

The installation instructions in this chapter refer to MySQL 5.0.20, which is the current production version of the software. This version number can be read as “minor release number 20 of the major version5.0 software.” MySQL AB, the company ...

Get Sams Teach Yourself PHP, MySQL and Apache: All in One, Third 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.