Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


Whether you're running a business, keeping track of members and meetings for a club, or just trying to organize a large and diverse collection of information, you'll find the MySQL database engine useful for answering questions such as:

  • Which are my top ten fastest-selling products?

  • How frequently does this person come to our facility?

  • What was the highest, lowest, and average score of the team last season?

MySQL, the most popular open-source database, offers the power of a relational database in a package that's easy to set up and administer, and Learning MySQL provides all the tools you need to get started. This densely packed tutorial includes detailed instructions to help you set up and design an effective database, create powerful queries using SQL, configure MySQL for improved security, and squeeze information out of your data.

After covering the basics, the book travels far into MySQL's subtleties, including complex queries and joins, how to interact with the database over the Web using PHP or Perl, and important house-keeping such as backups and security.

Topic include:

  • Installation on Linux, Windows, and Mac OS X

  • Basic and advanced querying using SQL

  • User management and security

  • Backups and recovery

  • Tuning for improved efficiency

  • Developing command-line and web database applications using the PHP and Perl programming languages

The authors, Saied Tahaghoghi and Hugh E. Williams, have careers in academia and business, and share a keen interest in research into search technologies.

Whether you've never touched a database or have already completed some MySQL projects, you'll find insights in Learning MySQL that will last a career.

Subscriber Reviews

Average Rating: 3.3333333333333335 out of 5 rating Based on 3 Ratings

"Very bad book, not recommend" - by MySQL beginner on 07-MAR-2013
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Very chaotic and bad tutorial for beginner
It looks this book try to make everything in details but finally make it very hard to read. And lots of important details they donot mention  but with lots of useless details in it.

A simple example: according to the contents of this book, if you want to insert into or delete some data after you load the provided .spl file, there have a foreign key problem always happen. However, this book totally mentioned nothing for that, which is actually a hard problem for beginners.

Report as Inappropriate

"Learning MySQL" - by pacesferry on 29-SEP-2012
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Doesn't cover bind-address, a setting in configuration file.
Report as Inappropriate

Table of Contents



The publisher has provided additional content related to this title.


Visit the catalog page for Learning MySQL

  • Catalog Page

Visit the errata page for Learning MySQL

  • Errata

Download the supplemental electronic content for Learning MySQL

  • Supplemental Content