MySQL:The Definitive Guide to Using, Programming , and Administering MySQL 4, 2nd Edition


In the second edition of MySQL Paul DuBois provides an updated, comprehensive guide to one of the most popular relational database systems.

MySQL is the most popular open source database server in the world, with more than 2 million installations and customers including Yahoo!,, Motorola, and NASA.

MySQL 4.0, now generally available, is a long-awaited update to the database management system that has ...

See more details below
Available through our Marketplace sellers.
Other sellers (Paperback)
  • All (15) from $1.99   
  • New (1) from $34.45   
  • Used (14) from $1.99   
Sort by
Page 1 of 1
Showing All
Note: Marketplace items are not eligible for any coupons and promotions
Seller since 2015

Feedback rating:



New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.

Brand New Item.

Ships from: Chatham, NJ

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
Page 1 of 1
Showing All
Sort by
Sending request ...


In the second edition of MySQL Paul DuBois provides an updated, comprehensive guide to one of the most popular relational database systems.

MySQL is the most popular open source database server in the world, with more than 2 million installations and customers including Yahoo!,, Motorola, and NASA.

MySQL 4.0, now generally available, is a long-awaited update to the database management system that has many new features, including a new table definition file format, enhanced replication, and more functions for a full text search.

Instead of giving readers merely an overview of MySQL 4.0, DuBois continues to include the most sought-after answers to the questions he hears most often from the community.

Read More Show Less

Editorial Reviews

From Barnes & Noble
The Barnes & Noble Review
Agilent and Yahoo. Google and Xerox. Lockheed and Slashdot. Walt Disney and the U.S. Census Bureau. What could these incredibly diverse organizations have in common? MySQL, that’s what. More than four million organizations now use this software miracle. And no wonder. MySQL is fast, robust, multithreaded, scalable, compatible, open, and -- in most applications and scenarios -- free.

An extraordinary global community has come together around MySQL. Nowadays, the support and information available to MySQL users have far outstripped what you’d expect from most “open source” products -- for which documentation is at best an afterthought, and at worst a curse.

So we’re not recommending MySQL, Second Edition because we know you’re desperate for even the slightest scraps of accurate, comprehensible information. We’re recommending it because it’s terrific.

Author Paul DuBois knows this product like few others outside MySQL itself. (In fact, he's among the writers and maintainers of the official MySQL manual.) But it’s more than that.

It’s DuBois’s remarkable clarity and care in explaining both MySQL and the core database concepts surrounding it. MySQL, Second Edition is one of those books where you can really see the thought that’s gone into everything from organization to examples. And everything he writes is grounded in experience. It’s not just what the features do: It’s why you care -- and what to watch out for.

DuBois covers MySQL from start to finish: installation, configuration, programming, day-to-day administration, security, optimization, and troubleshooting. The book also contains definitive references to MySQL’s column types, operators, functions, SQL dialect, its multiple APIs, and the program itself.

You also won’t find a more up-to-date MySQL guide. This is one of the first MySQL books to fully cover the newest MySQL 4.1 enhancements. For instance, DuBois shows how to make the most of 4.1’s new support for SQL subselects (sometimes called subqueries or nested queries). These make searching complex data a whole lot easier, and more efficient, too.

Of course, the long-awaited features that arrived with MySQL 4.0 are covered in depth -- for example, transactions. (DuBois’s coverage is notable for his discussion of the types of problems you can run into if you don’t pay attention to transactional issues -- and how you can address them using both the new transactional table types and MySQL’s traditional non-transactional tables.)

You’ll also find solid coverage of MySQL’s recently improved replication capabilities, including a walkthrough of establishing a master-slave replication relationship between two servers.

In a detailed chapter on MySQL security, DuBois systematically introduces techniques for preventing unauthorized file system and network access -- and takes a microscope to MySQL’s critical Grant tables. You’ll also learn how to set up secure, encrypted connections over SSL -- yet another new feature of MySQL 4.x.

Administrators will find thorough introductions to everything from the MySQL data dictionary to managing user accounts, server tuning to backup, recovery, and database repair.

MySQL, Second Edition is especially strong on programming -- from the absolute basics (“Why write a MySQL program at all?”) to nifty pattern matching and web applications. You’ll find chapters on the MySQL C API, on PHP, and especially on the Perl DBI.

Twelve hundred pages, and as far as we can tell, not one wasted. Bill Camarda

Bill Camarda is a consultant, writer, and web/multimedia content developer. His 15 books include Special Edition Using Word 2000 and Upgrading & Fixing Networks for Dummies, Second Edition.

Read More Show Less

Product Details

  • ISBN-13: 9780735712126
  • Publisher: Sams
  • Publication date: 1/9/2003
  • Edition description: Second Edition
  • Edition number: 2
  • Pages: 1219
  • Product dimensions: 6.90 (w) x 8.98 (h) x 2.04 (d)

Table of Contents

I General MySQL Use
1 Getting Started with MySQL and SQL 3
2 Working with Data in MySQL 93
3 MySQL SQL Syntax and Use 181
4 Query Optimization 261
II Using MySQL Programming Interfaces
5 Introduction to MySQL Programming 297
6 The MySQL C API 319
7 The Perl DBI API 391
8 The PHP API 487
III MySQL Administration
9 Introduction to MySQL Administration 547
10 The MySQL Data Directory 553
11 General MySQL Administration 581
12 Security 665
13 Database Backups, Maintenance, and Repair 707
App. A Obtaining and Installing Software 747
App. B Column Type Reference 769
App. C Operator and Function Reference 783
App. D SQL Syntax Reference 843
App. E MySQL Program Reference 941
App. F C API Reference 1025
App. G Perl DBI API Reference 1069
App. H PHP API Reference 1101
App. I Internet Service Providers 1137
Index 1151
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 2 Customer Reviews
  • Anonymous

    Posted August 15, 2003

    A Perfect MySQL for beginners and experts.

    When I began working with MySQL, I had this book in hand. I helped me get through with all the basics with ease. The chapters are laid out perfectly and the examples make understanding the concepts easier. Today, after using MySQl for over a year, I still go back to this for titbits whenever I need it. Its perfect reference too. I would recommended this to everyone who uses or intends to use MySQL.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted June 30, 2003

    Excellent reference!

    SQL has always seemed to be a complicated topic to broach, especially if one has no way of practicing with it. mySQL being an open-source implementation of it makes it possible to experiment with it without breaking your bank account; still, I found the packages and other options confusing. Therefore, I picked up this book, hoping to get my ideas straight. This book does not disappoint. I was able to install a simple webserver (Apache), mySQL and PHP based on the instructions in the appendix, and got to playing with it in a very short time. And the things I can do with it! I plan to gain more proficiency with this, and then start implementing ideas from 'Translucent Databases' by Peter Wayner, using Java and mySQL. Without a doubt, this book is masterful and an excellent source for a beginner, and a great reference for more advanced users.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 2 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)