MySQL Cookbook, 2nd Edition
Solutions & Examples for Database Developers and DBAs
Publisher: O'Reilly Media
Released: November 2006
Pages: 980
Description
Table of Contents
Product Details
About the Author
Recommended for You
Recently Viewed
Windows Vista in a Nutshell
By Preston Gralla
December 2006
Ebook: $27.99
Print & Ebook: $38.49
Print: $34.99
Google Hacks, 3rd Edition
By Rael Dornfest, Paul Bausch, Tara Calishain
August 2006
Ebook: $19.99
Print & Ebook: $27.49
Print: $24.99
The Myths of Innovation
By Scott Berkun
May 2007
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreilly MySQL Cookbook, Second Edition
 
4.7

(based on 6 reviews)

Ratings Distribution

  • 5 Stars

     

    (4)

  • 4 Stars

     

    (2)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

Reviews

Reviewed by 6 customers

Sort by

Displaying reviews 1-6

Back to top

 
5.0

I needed a good mysql review - this was great for that purpose

By Edmonton Linux User Group

from Edmonton

Comments about oreilly MySQL Cookbook, Second Edition:

I do not have the original edition, but I do have a review of it in front of me as I write this. We are seeing approximately the same number of pages previously (under 1000), but now there are 287 recipes versus the previous 314, 20 chapters versus the previous 19, and four appendices. I can't say what what was taken out and what was added, so I am wondering if it may be worthwhile to locate the original edition, just in case I'm missing something useful.

Apparently, the original edition did not have much in the way of examples with various language APIs, but this edition has example code for Perl, PHP, Python, Java, and Ruby.

The organization seems typical of other books in the Cookbook series, so it should feel familiar. Though the book's audience is for database developers and DBAs, I think it could be used as an instructional manual, as the recipies start out with very basic MySQL client program interactions and build to using all kinds of useful features. And, of course, if/when you have a specific problem to solve, you can simply page to the appropriate chapter in the table of contents, and see if it's there.

I also found that it was a good book to browse through. I needed a good review before starting a new database project - I haven't actively done database for a bit - and this was great for that purpose. I was able to identify some solutions that are applicable to my project, so that was a definite bonus.

Great book. It will be kept handy while I'm working, and close at hand on my bookshelf, otherwise.

ELUG Review (http://elug.ca/reviews/mysql_cookbook.shtml)

 
5.0

Treasure Trove of MySQL Recipes

By Larry

from Undisclosed

Comments about oreilly MySQL Cookbook, Second Edition:

At 900+ pages this book addresses a lot of common SQL tasks. And that's what a good cookbook should do. Not only does it present the SQL queries in the MySQL dialect, it also covers how to pump those queries through Pearl, Ruby, PHP, Python, and Java APIs.

As an added bonus you can actually use this book to learn SQL. I thought the chapter on JOINS was especially well written.

(1 of 1 customers found this review helpful)

 
4.0

True to the Title

By Conrad Shultz

from Undisclosed

Comments about oreilly MySQL Cookbook, Second Edition:

As indicated, this book is true to its title. It is a cookbook, by which I mean it contains a great number of (generally useful) recipes of varying complexity, but lacks detail and analysis that a more focused text would have.

Mr. DuBois and O'Reilly publishing are clearly targeting a wide audience: the recipes range from frighteningly simple (e.g. 3.1, Specifying Which Columns to Select) to fairly sophisticated (e.g. 12.14, Performing a Join Between Tables in Different Databases). The recipes are typically clearly written, with ample supporting code examples and few typographical errors.

I must also note that Mr. DuBois nicely avoids a pitfall many authors (the competence of whom I have to question) in this genre encounter: failure to weave security considerations into the text. While other books often mention security as an afterthought, or worse include code examples featuring disasters like non-escaped strings (hello, SQL injection!), DuBois explicitly points out the need to sanitize input and writes code examples that demonstrate the use of prepared statements in best-practices.

Unfortunately, in other areas he is less thorough. For example, only passing mention is made of the (possible) dependence of FULLTEXT indexes on choice of storage engine. There is an entire chapter on handling duplicate rows, but the oft-needed (and non-obvious) process for removing pseudo-duplicate rows differing only by a primary key field is not directly addressed. Stored procedures, triggers, and other new additions to MySQL are among the least-well understood but most powerful features of the database engine, yet astonishingly little space is spent on them. (I could understand not discussing them in depth as there are other books available, but length did not seem to be a concern anywhere else in this book.)

In summary, the book is an excellent resource for novices and experts alike - but only as a starting point. To return to the cooking analogy, the book at times feels like it is loaded down with recipes on how to add sugar to flour, but omits recipes on how to ice the cake.

 
5.0

For anybody who uses MySQL""

By Justin Pease

from Undisclosed

Comments about oreilly MySQL Cookbook, Second Edition:

Visuals

Good. Page numbers and section title can be found on the bottom of every page.

Audience

From the book: "This book should be useful for anybody who uses MySQL, ranging from individuals[...] to professional database and web developers."

That is a pretty broad range, basically from introductory to advanced. Nevertheless I would have to say that the book meets this challenge well. This book should be of use to anybody who uses MySQL.

Practicality:

I have to say that I have fallen for Cookbook style books. While I still thoroughly enjoy more theory heavy books, cookbooks can really deliver in the immediate practicality department.

The MySQL Cookbook is a good example of this. This book has dozens upon dozens of recipes that will likely have some measure of application in whatever MySQL dependent system you are working on.

Each recipe contains a brief "Problem" scenario, followed by an often equally brief "Solution", and finally a more lengthy discussion that shows how to actually implement the solution.

Overall

I am very pleased with this book. Mr. DuBois and O'Reilly did a great job. For instance, one of the things I especially like is that often multiple solutions are offered. For example if you were to look up Section 6.6 "Extracting Parts of Dates or Times" you will find the solution lists 3 possible options. The discussion section contains 5 pages of examples of how you might use those options to extract the desired data.

If you fit in to the intended audience of "anybody who uses MySQL", I would highly recommend this book.

 
4.0

MySQL help!

By Dave Walz-Burkett

from Undisclosed

Comments about oreilly MySQL Cookbook, Second Edition:

The MySQL Cookbook weighs in at over 940 pages and will help you find quick answers to everything from beginner-level basics up through dba and software developer tricks.

The book is a collection of real-world tasks and compliments Paul's DuBois' other MySQL books very well. It goes beyond basic use and admin-level goodies - it has loads of code examples as well. As a software developer using MySQL for many projects, I find the MySQL Cookbook indispensible.

 
5.0

Thick and Lovely

By Chris Charlton

from Undisclosed

Comments about oreilly MySQL Cookbook, Second Edition:

If you deal with MySQL on a daily or weekly basis then this book is a perfect go-to. So many scenarios (recipes) are covered, from simple to fairly advanced.

This second edition is almost twice as thick as the first, but that doesn't mean it's too much to handle since you wouldn't entirely read it from cover to cover because you'll want to go try out so much of it.

This really is worth space on a shelf (digital or not).

Displaying reviews 1-6

Back to top

 
Buy 2 Get 1 Free Free Shipping Guarantee
Buying Options
Save a Tree - Go Digital  what is this?
Ebook: $39.99
Formats: DAISY, ePub, Mobi, PDF
Print & Ebook: $54.99
Print: $49.99