Book description
Whether you're running a business, keeping track of members andmeetings for a club, or just trying to organize a large and diversecollection of information, you'll find the MySQL database engineuseful 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 ofa relational database in a package that's easy to set up andadminister, and Learning MySQL provides all the tools you need toget started. This densely packed tutorial includes detailedinstructions to help you set up and design an effective database,create powerful queries using SQL, configure MySQL for improvedsecurity, and squeeze information out of your data.
After covering the basics, the book travels far into MySQL'ssubtleties, including complex queries and joins, how to interact withthe database over the Web using PHP or Perl, and importanthouse-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 thePHP and Perl programming languages
The authors, Saied Tahaghoghi and Hugh E. Williams, have careers inacademia and business, and share a keen interest in research intosearch technologies.
Whether you've never touched a database or have already completedsome MySQL projects, you'll find insights in Learning MySQLthat will last a career.
Table of contents
- Learning MySQL
- A Note Regarding Supplemental Files
- Preface
-
I. Introduction
- 1. Introduction
-
2. Installing MySQL
- Installation Choices and Platforms
- Using the Command-Line Interface
- Using a Text Editor
- Following the Instructions in This Book
- Downloading and Verifying Files from the MySQL AB Web Site
-
Installing Under Linux
- Installing MySQL on Linux Using RPM Packages from MySQL AB
- Installing MySQL on Linux Using a gzipped Tar Archive from MySQL AB
- Installing MySQL on Linux by Compiling the Source Code from MySQL AB
- Installing MySQL, Apache, PHP, and Perl on Linux Using Distribution Packages
- Installing MySQL, Apache, PHP, and Perl on Linux Using the XAMPP Integrated Package
- Configuring a Newly Installed Server
- Installing Under Windows
- Installing Under Mac OS X
- Using a MySQL Installation Provided by an ISP
- Upgrading an Existing MySQL Server
- Configuring Access to the MySQL Server
- What If Things Don’t Work?
- The Contents of the MySQL Directory
- Configuring and Controlling the Apache Web Server
- Setting up Perl
- Resources
- Exercises
- 3. Using the MySQL Monitor
-
II. Using MySQL
- 4. Modeling and Designing Databases
- 5. Basic SQL
- 6. Working with Database Structures
- 7. Advanced Querying
- 8. Doing More with MySQL
-
9. Managing Users and Privileges
- Understanding Users and Privileges
- Creating and Using New Users
- Privileges
- The GRANT OPTION Privilege
- How Privileges Interact
- Users and Hosts
- Checking Privileges
- Revoking Privileges
- Removing Users
- Understanding and Changing Passwords
- The Default Users
- Devising a User Security Policy
- Managing Privileges with SQL
- Privileges and Performance
- Resetting Forgotten MySQL Passwords
- Exercises
-
III. Advanced Topics
- 10. Backups and Recovery
- 11. Using an Options File
- 12. Configuring and Tuning the Server
-
IV. Web Database Applications with PHP
- 13. Web Database Applications
-
14. PHP
- Language Basics
- Accessing MySQL Using PHP
- Modularizing Code
- Processing and Using User Data
- The PHP Predefined Superglobal Variables
- Untainting User Data
- Sessions
- The Reload Problem
- Using PHP for Command-Line Scripts
- Resources
- Exercises
- 15. A PHP Application: The Wedding Gift Registry
-
V. Interacting with MySQL Using Perl
-
16. Perl
- Writing Your First Perl Program
- Scripting With Perl
- Resources
- Exercises
- 17. Using Perl with MySQL
- 18. Serving Perl Pages to the Web
-
16. Perl
- VI. Appendix
- Index
- About the Authors
- Colophon
- Copyright
Product information
- Title: Learning MySQL
- Author(s):
- Release date: November 2006
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596008642
You might also like
audiobook
The Design of Everyday Things
First, businesses discovered quality as a key competitive edge; next came science. Now, Donald A. Norman, …
book
Interview Questions in Business Analytics
Discover relevant questions—and detailed answers—to help you prepare for job interviews and break into the field …
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
book
Software Architect's Handbook
A comprehensive guide to exploring software architecture concepts and implementing best practices Key Features Enhance your …