Chapter 1: Introducing MySQL

In This Chapter

arrow.png Discovering how MySQL works

arrow.png Communicating with MySQL

arrow.png Securing data stored in MySQL

Many dynamic websites require a backend database. The database can contain information that the web pages display to the user, or the purpose of the database might be to store information provided by the user. In some applications, the database both provides available information and stores new information.

MySQL, the most popular database for use in websites, was developed to be fast and small, specifically for websites. MySQL is particularly popular for use with websites that are written in PHP, and PHP and MySQL work well together.

This chapter provides an introduction to MySQL, and explains how it works and how you can communicate with it. As discussed in Book IV, Chapter 3, much of this information also applies to the SQLite database introduced in that chapter.

Examining How MySQL Works

The MySQL software consists of the MySQL server, several utility programs that assist in the administration of MySQL databases, and some supporting software that the MySQL server needs (but you don’t need to know about). The heart of the system is the MySQL server. ...

Get PHP, MySQL, JavaScript & HTML5 All-in-One For Dummies 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.