Chapter 1. Installing and Configuring MySQL

Welcome to the first hour of Sams Teach Yourself PHP, MySQL, and Apache in 24 Hours. This is the first of three “installation” hours, in which you will learn how to set up your development environment. We’ll tackle the MySQL installation first, because the PHP installation is much simpler when MySQL is already installed.

In this hour, you will learn

  • How to install MySQL

  • Basic security guidelines for running MySQL

  • How to work with the MySQL user privilege system

How to Get MySQL

The method you’ll use to get MySQL depends on which distribution you want. Methods range from downloading a large file (or several large files) to buying an off-the-shelf product.

  • MySQL AB distributes the open source version of MySQL ...

Get Sams Teach Yourself PHP, MySQL™ and Apache in 24 Hours 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.