Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Programming Books Media Book Reviews IT Technology

The Definitive Guide to MySQL 5 100

jsuda writes "The Definitive Guide to MYSQL 3rd Edition certainly deserves its title. It is a large, dense, complete guide to MySQL and updates its predecessor edition by covering new MySQL5 and new auxiliary software including database administration tools and interfaces. MySQL is the open-source database software which has become very popular for web-based database applications now being used by Yahoo, NASA, Slashdot, and other entities. Read on for the rest of Jsudas' review
The Definitive Guide to MySQL 5 3rd Edition
author Michael Kofler
pages 748
publisher Apress
rating 7
reviewer John Suda
ISBN 1-59059-535-1
summary The Definitive Guide to Mysql 5


The author of this book, Michael Kofler, has a Ph.D. degree in computer science and is an accomplished writer of technical books. The audience is intermediate to high-level database designers and programmers. Although the presentation assumes little prior knowledge of MySQL and databases, it does assume a good amount of contact with and knowledge of programming languages. The topic of this book does not lend itself to an easy, flowing writing style. Reading through this complex material is like chewing on heavy New England pound cake. That is not a criticism of the author as he thoroughly presents the topics in a comprehensive, workmanlike, textbook-like manner. The discussions of databases and MySQL features are lightened by numerous table, charts, graphics, and examples of relevant matters.

The updating from the 2nd Edition of The Definitive Guide involves the upgrade of MySQL from version 4.1 to 5.0 which now provides support for Unicode, the sub-SELECT and GIS functions, improved authorization features, addition of stored procedures, and other new commands and server options. It also includes discussion of new or updated auxiliary software used with MySQL, like PHPAdmin and new interfaces for Open Office, Star Office, and Apo.NET.

There are six parts with twenty-three chapters and 3 appendices, amounting to 748 pages with index. The parts entail an introduction to MySQL and databases, administrative tools and user interfaces, fundamentals of database design, programming using MySQL, and detailed content references. The appendices include short segments of a glossary, bibliography, and notes about the sample code files available for downloading from the publisher's website at http://www.apress.com./

The beginning chapters introduce the basic concepts of MySQL including its client-server architecture, tables, fields, queries, keys, and the distinction between relational and object-oriented databases. The author focuses the bulk of the book on relational databases. The many features of MySQL are itemized and other matters like licensing and setting up test environments are discussed. A large segment of this early material offers instruction on installing under Windows and Unix/Linux platforms and configuring the installations for function, usability, and security. An introductory example of building an opinion poll application with PHP is provided.

Chapters 4 - 6 cover a number of administrative tools to use with MySQL, including mysqladmin, mysqldump, and PHPAdmin. The author spells out how to install and configure, set up user management and security, create and edit databases, import and export data, and use auxiliary functions, among other things.

The best chapter, in my view, is Chapter 8 on database design. The technical aspects of databases are well-covered, like the various table types and data types, but the more theoretical aspects are noted in some length. There is some art in creating databases and tables which is above the technological. Correct design with related tables is crucial to efficiency, ease of use, accuracy, ability to revise, and consistency. A segment on "tips and tricks" in database design is especially interesting.

The bulk of Part 3 contains a comprehensive presentation of SQL features, syntax, configuration, and security issues, The new functions of version 5 are explored, like GIS and stored procedures and triggers. A section on transactions for advanced users and setups is nicely done. For novice users, mention is made of the "--I-am-a-dummy" option which warns and provides a second chance to avoid inadvertent updating or deleting of a table. Chapter 14 is all about maintenance issues - backing up, importing, logging, and replication.

Part 4 deals with how to combine MySQL with programming languages like PHP, perl, Java, C, Visual Basic, and Visual Basic.NET. Each is treated similarly - detailing features, concepts, syntax, and programming techniques. Most of the attention is given to PHP, which is described as a natural companion to MySQL for use in developing dynamic web applications.

Chapter 21 is a comprehensive SQL reference of operations, functions, data types, variables and constants, and commands. There are a large number of charts and tables to bring order to the dense material. Chapter 23 contains material on the various API's which can interact with MySQL. These include PHP.API, perl.API, JDBC, ADO-net, and C.API.

For those with a need to know, and those with a desire to learn MySQL, this volume contains nearly everything you would want and expect, not only about MySQL itself but about the software that interacts with it or web servers. The author deserves credit for presenting the dense material in a thorough and orderly manner."


You can purchase The Definitive Guide to MySQL 5 3rd Edition from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.
This discussion has been archived. No new comments can be posted.

The Definitive Guide to MySQL 5

Comments Filter:
  • Eh? (Score:1, Insightful)

    by Legendof_Pedro ( 900265 ) on Monday October 31, 2005 @03:43PM (#13917338) Homepage
    The Definitive Guide? And I thought the online documentation [mysql.com]...
  • that's the truth (Score:5, Insightful)

    by conJunk ( 779958 ) on Monday October 31, 2005 @03:57PM (#13917444)
    The Definitive Guide? And I thought the online documentation...

    totally... i was wandering in my favorite geek bookstore [powells.com] yesterday... it's weird to look at the shelves, at the rows and rows of thick, expensive books, and think... "i've had no trouble with the online help for that one, and that one, and that one..."

    people will spend money on just about anything... but, in fairness, it can be nice to have a guide that you can flip through some times... i don't like online doucmentation for everything but it has its place... a lot of these books though seem a bit much

  • by webmosher ( 322834 ) <(moc.liamg) (ta) (rehsombew)> on Monday October 31, 2005 @03:58PM (#13917455) Homepage
    It bothers me a bit that the reviewer considered the content intermediate to advanced, yet found the database design chapter most informative. Design in my opinion should be mostly irrelavent to the database its implemented on. Sure, you can optimize certain aspects of a design based on the features of the database server, but this should not define the design. Design should be a study in itself and not something thrown in for the sake of completeness.

    However, considering the average DB design skillz of a commonplace/low-rent PHP developer (or at least the ones I have had to clean up after). I am hopeful that more developers using PHP/MySQL will actually take the time to look at the content in this or other definitive books on MySQL.

  • by MindStalker ( 22827 ) <mindstalker@[ ]il.com ['gma' in gap]> on Monday October 31, 2005 @04:07PM (#13917509) Journal
    Well in this one case its accurate, MYSQL 5 includes many new features that wern't included in MYSQL 4.x. So while the definative guide on MYSQL 4.x might have been definative concerning 4.x it is inferior when it comes to dealing with 5.
  • by sco08y ( 615665 ) on Monday October 31, 2005 @04:39PM (#13917791)
    Like this book states in its title, it focuses on MySQL.

    It also claims to be the definitive guide. If something is definitive, it's got to be complete. You can't properly use a SQL DBMS without understanding the principles of the SQL language.

    This is especially true since MySQL takes liberties with the SQL standard which already diverges widely from the relational model.
  • by brunson ( 91995 ) on Monday October 31, 2005 @06:20PM (#13918715) Homepage
    My concern is that a "Definitive Guide", especially one geared towards an intermediate/advanced user would not include a section on clustering, one of the most advanced and important additions to version 5.

"Experience has proved that some people indeed know everything." -- Russell Baker

Working...