USA Linux Users Group Forum Index
Log in Register FAQ Memberlist Search USA Linux Users Group Forum Index Album

Book Review: MySQL Cookbook (covers MySQL 4.0)by Paul DuBois

 
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » Reviews and Interviews
View previous topic :: View next topic  
Author Message
mmmna
. . . .


Joined: 21 Apr 2024
Posts: 7224

PostPosted: Sat Jan 29, 2024 2:33 pm    Post subject: Book Review: MySQL Cookbook (covers MySQL 4.0)by Paul DuBois Reply with quote


USA Linux Users Group Book Review
Reviewer: mmmna

Book: MySql CookBook
Author: Paul DuBois
Publisher: O'Reilly
Pages: 1022
ISBN: 0-596-00145-2
The Book: http://www.oreilly.com/catalog/mysqlckbk/
Covers: MySQL version 4.0, with some solutions for earlier version MySQL users.

Taking a no nonsense approach from the beginning, this book takes the neophyte by the hand and shows them, from square one, how to use MySQL as a database. Chapter 1 leads you through creating (also known as granting) a user account, then indicates how to create a basic database and a table for queries. Next, the chapter discusses starting and stopping the client, and so forth; from there, the book digs progressively deeper into the realms of the popular uses for a database.

For the advanced MySQL user, the author acknowledges the presence of many Application Program Interfaces, or APIs, but also admits he cannot readily provide recipes for all APIs (and certainly not for all possible combinations of user needs). This restrictions is due, for the most part, to book size constraints - the <ySQL Cookbook is already over 900 pages and hardly covers basic examples of Java, PHP, Perl and Python APIs (The author concedes that the books discussions about Python and Java APIs were included by popular demand).

Although my personal database skills and needs are very lightweight compared to the power of MySQL version 4.0, MySQL Cookbook is already a powerful reference for my database life, mostly because of the style in which it is written: rather encyclopedic, well sequenced and thoroughly indexed. Further, the writers style is to be very concise but also offer an accurate synopsis of the command being discussed (including when necessary any 'gotchas' we might encounter), with minimal rambling within the authors description of his example.

The core format used throughout this book is one of 'Problem, Solution, Discussion'. The added discussions most often are thoughtfully placed cautions regarding issues related to the popular misuse or misunderstanding of certain instructions - inappropriate data types, for example, or discussions of how searches can fail to produce expected results. MySQL Cookbook uses only a minimal amount of diversions (you know the kind - the ones where 'if you wanted this then try that'), and even then, those diversions that are provided are offered only after the core example has been offered. This is very comforting to me because so many books diverge into rambling babble, right in the middle of providing a key example and that diversion confuses the instructions core purpose. For that effort alone, this book becomes a tome of great significance for MySQL users. I appreciate this books style because so many other Linux books I've browsed (and left behind) at a local bookstore are written based upon the reader already knowing most of the subject being discussed - Paul assumes only that you have read this book in order from the start of the book, up to the example.

My conclusion is that the The MySQL Cookbook therefore offers a very useful, very intelligently arranged and certainls a refreshing nuts and bolts discussion of a this powerful database tool.

My suggestion for the MySQL Cookbook reader: I'd strongly suggest trying each and every example. They are very well written, and using the examples will benefit you enormously. Each example is focused on explaining the intracacies of the command being discussed and the example's setup text provides only the least possible amount of essential instructions needed to properly introduce the command. For example, where you would need to create a table in order to use some data format commands, the example includes a table construct and also includes the instruction format example being discussed. Finally, the author offers you examples of the desired MySQL output and explains why some uses for the command might produce unanticipated results in the output. A great example is how we humans can really get fooled by SORT results, and Paul DuBois easily describes the reasons why we get unanticipated results. He even explains how sorting NULL entries has changed over the various versions of MySQL, and he offers methods to fool results into the order we expected.

In some instances in this book, references are made to a website that contains premade databases and tables that are fairly easy to download but which might be a bit too much work to create by hand. Personally, I do hope that these files remain available, unrevised, for a long duration, as this book will remain on my bookshelf for a few years to come. A plea to O'Reilly:: by way of a conscientious reader service, I'd suggest that the websites referenced in MySQL Cookbook should be archived for the benefit of future readers of this fantastic book. I ask this because the internet changes far too rapidly for these links to be of any benefit to a future reader of MySQL Cookbook. It would therefore benefit future readers if O'Reilly would store a copy of the referenced online materials, compressed into a single file, stored in a format which all platforms can extract. Place the archive at a footnoted hyperlink, place the hyper link on the O'reilly website on a web page where the browser sees a detailed description of the MySQL Cookbook. Please keep that requested link available for several years, since people do not always inherit the latest versions of books from their mentors!

I feel the book sets a flawless, if not (by necessity) a bit dry, example of a discussion of a technical matter, the upshot for everyone is seeing that this is the way it needs to be written for the maximum value, at least for this consumer.

5 out of 5 mmmna biggrins.

Very Happy Very Happy Very Happy Very Happy Very Happy



_________________
-Kubuntu 10.04 LTS Beta2 on Celeron D desktop
-PCLinuxOS 2024 LXDE on EeePC 900A with Atom n270 (modded with 32G SATA drive and 2G ram).
Back to top
View user's profile Send private message
DocZayus
Ultimate Member


Joined: 15 Feb 2024
Posts: 2199
Location: Fredericton, New Brunswick

PostPosted: Sun Jan 30, 2024 2:06 pm    Post subject: Reply with quote

Thanks mmmna.

Sounds like something I could use.
Out of curiosity, what's the price range on this thing?



_________________
Sabayon
Vista
Back to top
View user's profile Send private message Visit poster's website
richard
Ultimate Member


Joined: 13 Apr 2024
Posts: 2730
Location: Kent, United Kingdom

PostPosted: Sun Jan 30, 2024 3:54 pm    Post subject: Reply with quote

That was excellent. I think that I'm going to have to get this as my knowledge of MySQL is a big fat zero. Crying or Very sad



_________________
Windows Vista / Ubuntu 8.10
Back to top
View user's profile Send private message
mushroom
Ultimate Member


Joined: 29 Jun 2024
Posts: 2129
Location: Queen Charlotte B. C. Canada

PostPosted: Sun Jan 30, 2024 5:26 pm    Post subject: Reply with quote

The book as been around for a while, it has been in my library for over a year.

As good as it is I would not make it my first chose, but worth having.


Back to top
View user's profile Send private message Visit poster's website
DocZayus
Ultimate Member


Joined: 15 Feb 2024
Posts: 2199
Location: Fredericton, New Brunswick

PostPosted: Sun Jan 30, 2024 6:56 pm    Post subject: Reply with quote

and what would your first choice be?

Question



_________________
Sabayon
Vista
Back to top
View user's profile Send private message Visit poster's website
mmmna
. . . .


Joined: 21 Apr 2024
Posts: 7224

PostPosted: Sun Jan 30, 2024 7:45 pm    Post subject: Reply with quote

I have SOME experience with M$ Access for lightweight relational databases (much fewer than 6 relationships), and I am quite familiar with using Excel as a flat file database (ones that use formulas to do some calculations and also to make statements about cell contents) so, for me, the constructs outlined in MySQL Cookbook were quite easy to grasp, based on my history. I'd say that each person will get some benefit. Naturally, the commands in MySQL are different from Excel, Access and MySQL probably supercede straight ANSI SQL, but my understanding is that MySQL is ANSI SQL compliant (or nearly so), therefore, the lessons and techniques learned in the MySQL Cookbook stand a good chance of being useful with straight SQL.


Mushroom - which version of this book do you own? I've never seen earlier versions of this book, but this version really impressed me as is.

I'm surprised at your comment about the book.... why is this book not your first choice, if I may ask?


Doc - around $50US at Barnes and Noble, but you need to check your local bookstores, I don't know of any canadian retailers. Can also purchase this book directly from O'Reilly website.



_________________
-Kubuntu 10.04 LTS Beta2 on Celeron D desktop
-PCLinuxOS 2024 LXDE on EeePC 900A with Atom n270 (modded with 32G SATA drive and 2G ram).
Back to top
View user's profile Send private message
mmmna
. . . .


Joined: 21 Apr 2024
Posts: 7224

PostPosted: Sun Jan 30, 2024 7:59 pm    Post subject: Reply with quote

I've reposted this review at TechIMO.



_________________
-Kubuntu 10.04 LTS Beta2 on Celeron D desktop
-PCLinuxOS 2024 LXDE on EeePC 900A with Atom n270 (modded with 32G SATA drive and 2G ram).
Back to top
View user's profile Send private message
mushroom
Ultimate Member


Joined: 29 Jun 2024
Posts: 2129
Location: Queen Charlotte B. C. Canada

PostPosted: Sun Jan 30, 2024 10:17 pm    Post subject: Reply with quote

mmmna wrote:
Mushroom - which version of this book do you own? I've never seen earlier versions of this book, but this version really impressed me as is.

I'm surprised at your comment about the book.... why is this book not your first choice, if I may ask?

First edition October 2024

The one that got me going from scrach "MySQL/PHP Database Application" by Jay Greenspan & Brad Bulger. I had read others before this one, but it was the first one that made most every thing clear.

My two main reference books and most of the time I find what I am looking for
"MySQL" by Paul DuBois (2000)
"core PHP programming" THIRD EDITION by Leon Atkinson with Zeev Suraski (2004)

MySQL Cookbook dose get used but not as often.


Back to top
View user's profile Send private message Visit poster's website
mmmna
. . . .


Joined: 21 Apr 2024
Posts: 7224

PostPosted: Mon Jan 31, 2024 10:38 am    Post subject: Reply with quote

The version I reviewed is copyrighted 2024, and says 'Now covers MySQL 4.01' on the upper right corner of the front cover.

Maybe you could look at this version at a bookstore?



_________________
-Kubuntu 10.04 LTS Beta2 on Celeron D desktop
-PCLinuxOS 2024 LXDE on EeePC 900A with Atom n270 (modded with 32G SATA drive and 2G ram).
Back to top
View user's profile Send private message
geeshock
Moderator


Joined: 02 Nov 2024
Posts: 1017
Location: Hertford, NC

PostPosted: Tue Feb 01, 2024 3:07 am    Post subject: Reply with quote

Paul DuBois is a good mysql author as well as a regular contributor to the oficial mysql mailing list that I belong to. He also has other mysql books out. I have this one

http://www.kitebird.com/mysql-book/

I'd definately recomend this one Smile


Back to top
View user's profile Send private message Visit poster's website AIM Address
mushroom
Ultimate Member


Joined: 29 Jun 2024
Posts: 2129
Location: Queen Charlotte B. C. Canada

PostPosted: Tue Feb 01, 2024 4:23 am    Post subject: Reply with quote

geeshock wrote:
Paul DuBois is a good mysql author as well as a regular contributor to the oficial mysql mailing list that I belong to. He also has other mysql books out. I have this one

http://www.kitebird.com/mysql-book/

I'd definately recomend this one Smile

I have the First edition so it will do.
one thing I don't need is "Better Windows coverage" Laughing


Back to top
View user's profile Send private message Visit poster's website
mmmna
. . . .


Joined: 21 Apr 2024
Posts: 7224

PostPosted: Sat Feb 05, 2024 4:35 pm    Post subject: Reply with quote

This review was posted and went live on Feb 1 at TechIMO.



_________________
-Kubuntu 10.04 LTS Beta2 on Celeron D desktop
-PCLinuxOS 2024 LXDE on EeePC 900A with Atom n270 (modded with 32G SATA drive and 2G ram).
Back to top
View user's profile Send private message
rwehrli
New Member


Joined: 24 Jan 2024
Posts: 23
Location: Columbia River Gorge

PostPosted: Tue Jan 24, 2024 10:44 pm    Post subject: Reply with quote

DocZayus wrote:
Thanks mmmna.

Sounds like something I could use.
Out of curiosity, what's the price range on this thing?


O'Reilly has a UG program whereby they give a big discount (25%, I think) to Linux Users Groups. Ask your LUG representative if they are involved with the O'Reilly UG program. There is no cost or other "hurdles" to face in becoming a UG program member other than filling out an online form. See: ug.oreilly.com for more details.

BTW...total SQL newbies may want to consider "Learning SQL" from O'Reilly before jumping into MySQL Cookbook, which is a "darn fine book" by my account of it. Another is "SQL in a Nutshell." If you are definitely going to be using MySQL, the reviewed book is a "must have" IMO.

Take Care.

Rob!



_________________
RHELWS-4
Back to top
View user's profile Send private message Visit poster's website
JP
Linux Guru


Joined: 07 Jul 2024
Posts: 6670
Location: Central Montana

PostPosted: Wed Jan 25, 2024 12:00 am    Post subject: Reply with quote

[quote="mmmna"]This review was posted and went live on <Feb 1> HUHHH Exclamation Surprised Shocked Surprised Shocked Laughing Laughing Laughing Laughing (j/k mmmna)



_________________
Dell Box - Arch Linux
Dell Lappy - DreamLinux 3.5 - Default OS
Mepis 8.0 - Backup
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » Reviews and Interviews All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All content © 2024-2009 - Usa Linux Users Group
This forum is powered by phpBB. © 2024-2009 phpBB Group
Theme created by phpBBStyles.com and modified by Crouse