Errata
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted By | Date submitted | Date corrected |
---|---|---|---|---|---|
Printed | Page xi ?the staff is? should be ?the staff are? |
Anonymous | |||
Printed | Page xv under "Using Code Examples": |
"Ttahaghoghi" |
Anonymous | ||
Printed | Page xi |
"the staff is" should be "the staff are" |
Anonymous | ||
Printed | Page xv under "Using Code Examples": |
"Ttahaghoghi" |
Anonymous | ||
Printed | Page xv, xvi, 8, 104, etc. n/a |
The website is no longer available at http://learningmysql.com; it has been moved to http://tahaghoghi.com/LearningMySQL/ |
O'Reilly Media |
Jan 11, 2011 | |
Printed | Page 8 lines 3-4 |
"won't spent" -> "won't spend" |
Anonymous | ||
Printed | Page 8 lines 3-4 |
"won't spent" -> "won't spend" |
Anonymous | ||
Printed | Page 10 para 2, last sentence |
Insert ?to work together? after ?Perl? |
Anonymous | ||
Printed | Page 10 para 2, last sentence |
Insert "to work together" after "Perl" |
Anonymous | ||
Printed | Page 16 |
Change: |
Anonymous | Jan 10, 2011 | |
Printed | Page 19 ?filename? should be ?myfile.txt? in examples. |
Anonymous | |||
Printed | Page 19 |
"filename" should be "myfile.txt" in examples. |
Anonymous | ||
Printed | Page 19 Middle |
$ pico filename |
Anonymous | Jan 19, 2011 | |
Printed | Page 22 bullet 2 |
Version is now 5.0.26 |
Anonymous | ||
Printed | Page 22 bullet 2 |
Version is now 5.0.26 |
Anonymous | ||
Printed | Page 23 last sentence |
Insert ?box? after ?dialog? |
Anonymous | ||
Printed | Page 23 last sentence |
Insert "box" after "dialog" |
Anonymous | ||
Printed | Page 25 note |
?i386? should be ?i686? |
Anonymous | ||
Printed | Page 25 note |
"i386" should be "i686" |
Anonymous | ||
Printed | Page 26 Second paragraph under ?Installing MySQL on Linux using RPM Packages? |
Add ?Packages with higher CPU numbers, such as i586 or i686, are better tuned for newer machines, but won?t work on older machines. |
Anonymous | ||
Printed | Page 26 Second paragraph under Installing MySQL on Linux using RPM Packages |
Change: |
Anonymous | ||
Printed | Page 58 Upper (Figure 2-14) |
C:\mysql-4.1.14-win32> |
Anonymous | Jan 19, 2011 | |
Printed | Page 61 Under ?Installing Under Mac OS X? |
?noninstallation? should be ?non-installation? in the second bullet point. |
Anonymous | ||
Printed | Page 61 Under Installing Under Mac OS X |
"noninstallation" should be "non-installation" in the second bullet point. |
Anonymous | ||
Printed | Page 61 Upper |
The XAMPP installation has PHP configured, with |
Anonymous | Jan 19, 2011 | |
Printed | Page 67 Lower |
The installer package is in the StuffIt Expander (.sitx) format. If you get a screen of garbled text in your browser when trying to download it, press the "back" button to see the download link - for example, http://easynews.dl.sourceforge.net/sourceforge/xampp/xampp-macosx-0.3.sitx. Hold down the Ctrl key and click on the link. From the menu that appears, select the entry that says Download Linked File (for Safari), Save Link As (for Firefox), or Download Link to Disk (for Internet Explorer). |
Anonymous | Jan 19, 2011 | |
Printed | Page 69 Lower |
|
Anonymous | Jan 19, 2011 | |
Printed | Page 71 Middle |
|
Anonymous | Jan 19, 2011 | |
Printed | Page 73 Middle |
Under Linux, change to your MySQL base directory and type: |
Anonymous | Jan 19, 2011 | |
Printed | Page 74 Lower |
The ellipsis (...) symbols indicate where we've left out some of the program output. |
Anonymous | Jan 19, 2011 | |
Printed | Page 75 Change ?password? to ?mypass? in examples. |
Anonymous | |||
Printed | Page 75 |
Change "password" to "mypass" in examples. Note from the Author or Editor: |
Anonymous | ||
Printed | Page 76 In the third line of code, there shouldn?t be quotes in the user input. |
Anonymous | |||
Printed | Page 76 third line of code |
In the third line of code there shouldn't be quotes in the user input. |
Anonymous | ||
Printed | Page 79 para 4 |
?Hold down? should be ?press?. |
Anonymous | ||
Printed | Page 79 para 4 |
"Hold down" should be "press". Note from the Author or Editor: |
Anonymous | ||
Printed | Page 80 Under ?Server Doesn?t Stop,? insert ?and the password, if any,? after ?username?. |
Insert ??password-che-root.password? after ?user-root? in example. |
Anonymous | ||
Printed | Page 80 |
Change: |
Anonymous | ||
Printed | Page 83 Lower |
or the apachectl command described later |
Anonymous | Jan 19, 2011 | |
Printed | Page 84 Lower |
Windows |
Anonymous | Jan 19, 2011 | |
Printed | Page 85 Insert ?file? after ?script? in the second sentence under ?Stopping and Starting Apache? |
Anonymous | |||
Printed | Page 85 |
Change: |
Anonymous | ||
Printed | Page 85 under "Starting and Stopping Apache" |
I am using version 10.2 of the openSUSE distribution of Linux. Note from the Author or Editor: |
Anonymous | ||
Printed | Page 87 Under ?Setting Up Perl? |
?nontrivial? should be ?complex.? |
Anonymous | ||
Printed | Page 87 Under "Setting Up Perl" |
"nontrivial" should be "complex." Note from the Author or Editor: |
Anonymous | ||
Printed | Page 91 Upper |
You can download and install the DBI module, the MySQL driver, and the CGI module for the XAMPP Perl installation by typing these commands in turn: |
Anonymous | Jan 19, 2011 | |
Printed | Page 97 Align ?>? throughout. |
Anonymous | |||
Printed | Page 97 |
Align ">" throughout. |
Anonymous | ||
Printed | Page 97 Upper |
There are two databases here; |
Anonymous | Jan 19, 2011 | |
Printed | Page 98 In the first sentence under ?The Monitor Help,? |
Take ?HELP? out of user-input font throughout the chapter, such as on p. 100. |
Anonymous | ||
Printed | Page 98 In the first sentence under "The Monitor Help," |
Take "HELP" out of user-input font throughout the chapter, such as on p. 100. |
Anonymous | ||
Printed | Page 99 lower |
by typing rebuild |
Anonymous | Jan 19, 2011 | |
Printed | Page 100 Upper |
You can get information on individual topics |
Anonymous | Jan 19, 2011 | |
Printed | Page 102 Change ?password? to ?mypass? in examples. |
Anonymous | |||
Printed | Page 102 |
Change "password" to "mypass" in examples. |
Anonymous | ||
Printed | Page 103 Check font size for ?the_username?. |
Anonymous | |||
Printed | Page 103 |
Check font size for "the_username". |
Anonymous | ||
Printed | Page 104 Bring ?use? in the first sentence into consistency with the rest of the book?either make it all caps or not. Also, the author says that ?the_mysql_ root_password? and the following example are not supposed to be italicezed. |
Anonymous | |||
Printed | Page 104 |
Change: |
Anonymous | ||
Printed | Page 104 Upper |
from having to type use the_database_name |
Anonymous | Jan 19, 2011 | |
Printed | Page 109 Change ?his? to ?their? before table. |
Anonymous | |||
Printed | Page 109 |
Change "his" to "their" before table. |
Anonymous | ||
Printed | Page 109 Lower |
for each of his courses: |
Anonymous | Jan 19, 2011 | |
Printed | Page 110 Align the first letter of the course name in the tables throughout. |
Anonymous | |||
Printed | Page 110 |
Align the first letter of the course name in the tables throughout. |
Anonymous | ||
Printed | Page 110 Middle |
John Paul Bloggs has failed the Computing Mathematics course once with 45 percent, |
Anonymous | Jan 19, 2011 | |
Printed | Page 116 Move ?m? to the customer vertex. |
|
Anonymous | ||
Printed | Page 116 |
Move "m" to the customer vertex. |
Anonymous | ||
Printed | Page 116 Upper (Figure 4-4) |
|
Anonymous | Jan 19, 2011 | |
Printed | Page 118 Figure 4-5, |
"Appplications" |
Anonymous | ||
Printed | Page 118 Figure 4-5, |
"Appplications" |
Anonymous | ||
Printed | Page 118 Upper (Figure 4-5) |
Updated image for Figure 4-5: |
Anonymous | Jan 19, 2011 | |
Printed | Page 121 Move fig 4-10 to this page. |
Anonymous | |||
Printed | Page 121 Move fig 4-10 to this page. |
Anonymous | |||
Printed | Page 122 change the literal tags in the last paragraph as follows |
"artist" to "Artist" |
Anonymous | ||
Printed | Page 122 change the literal tags in the last paragraph as follows |
"artist" to "Artist" |
Anonymous | ||
Printed | Page 123 Capitalize the first letters of entity names. |
Anonymous | |||
Printed | Page 123 Capitalize the first letters of entity names. |
Anonymous | |||
Printed | Page 126 Upper (Figure 4-13) |
Updated image for Figure 4-13: |
Anonymous | Jan 19, 2011 | |
Printed | Page 127 2nd to last paragraph |
Change ?trips? to ?legs? in the first sentence. |
Anonymous | ||
Printed | Page 127 2nd to last paragraph |
Change "trips" to "legs" in the first sentence. Note from the Author or Editor: |
Anonymous | ||
Printed | Page 128 Middle |
because it's the not of this table, |
Anonymous | Jan 19, 2011 | |
Printed | Page 131 Upper |
Updated image for Figure 4-15: |
Anonymous | Jan 19, 2011 | |
Printed | Page 145 middle of page |
?a percentage character? should be ?the percentage character.? |
Anonymous | ||
Printed | Page 145 middle of page |
"a percentage character" should be "the percentage character." Note from the Author or Editor: |
Anonymous | ||
Printed | Page 145 Lower |
mysql> SELECT * FROM track WHERE -> track_name LIKE "R__ %"; |
Anonymous | Jan 19, 2011 | |
Printed | Page 146 Align ?>? throughout. |
Anonymous | |||
Printed | Page 146 Throughout page |
Align > throughout. |
Anonymous | ||
Printed | Page 149 the query examples should include parentheses as below |
mysql> SELECT * FROM album WHERE album_id > 2 |
Anonymous | ||
Printed | Page 149 the query examples should include parentheses as below |
mysql> SELECT * FROM album WHERE album_id > 2 |
Anonymous | ||
Printed | Page 154 ?binary? should be all caps in example. |
Anonymous | |||
Printed | Page 154 Example in middle of page |
"binary" should be all caps in example. Note from the Author or Editor: |
Anonymous | ||
Printed | Page 156 In the last sentence before ?Joining Two Tables? section, reverse ?10? and ?5?. |
Anonymous | |||
Printed | Page 156 last sentence before "Joining Two Tables" section |
In the last sentence before "Joining Two Tables" section, reverse 10 and 5. Note from the Author or Editor: |
Anonymous | ||
Printed | Page 163 middle of page |
?auto_increment? should be all caps. |
Anonymous | ||
Printed | Page 163 middle of page |
"auto_increment" should be all caps. Note from the Author or Editor: |
Anonymous | ||
Printed | Page 164 Lower |
|
Anonymous | Jan 19, 2011 | |
Printed | Page 165 second-to-last paragraph |
?whose? should be ?for which the?. |
Anonymous | ||
Printed | Page 165 second-to-last paragraph |
"whose" should be "for which the". Note from the Author or Editor: |
Anonymous | ||
Printed | Page 168 Under "The DELETE STATEMENT' |
?multitable? should be ?multi-table? |
Anonymous | ||
Printed | Page 168 Under "The DELETE STATEMENT' |
multitable should be multi-table Note from the Author or Editor: |
Anonymous | ||
Printed | Page 170 Middle |
|
Anonymous | Jan 19, 2011 | |
Printed | Page 173 Check font on the_mysql_root_password?. Also on 331. |
Anonymous | |||
Printed | Page 173, 331 |
Check font on the_mysql_root_password. |
Anonymous | ||
Printed | Page 175 Lower |
|
Anonymous | Jan 19, 2011 | |
Printed | Page 176 Upper |
|
Anonymous | Jan 19, 2011 | |
Printed | Page 182 Remove ?temporarily? from the end of the first paragraph. |
Anonymous | |||
Printed | Page 182 ?default? should be all-caps in examples. |
Anonymous | |||
Printed | Page 182 Upper |
Remove "temporarily" from the end of the first paragraph. Note from the Author or Editor: |
Anonymous | ||
Printed | Page 182 Lower |
"default" should be all-caps in examples. Note from the Author or Editor: |
Anonymous | ||
Printed | Page 183 4th line from the bottom |
than should be that |
Anonymous | ||
Printed | Page 183 4th line from the bottom |
than should be that Note from the Author or Editor: |
Anonymous | ||
Printed | Page 183 Upper |
The name field is the table name, and it has the same limitations |
Anonymous | Jan 19, 2011 | |
Printed | Page 187 Delete ?instead? from the ?creating temporary tables? section. |
Anonymous | |||
Printed | Page 187 Middle |
Delete "instead" from the "creating temporary tables" section. Note from the Author or Editor: |
Anonymous | ||
Printed | Page 191 bottom of page, 3rd sentence up from code exerpt |
"You can use the SHOW WARNINGS command to reports" |
Anonymous | Jan 14, 2009 | |
Printed | Page 192 Remove the excess characters in the first ASCII table. |
Anonymous | |||
Printed | Page 192 1st ASCII table |
Remove the excess characters in the first ASCII table. |
Anonymous | ||
Printed | Page 197 ?From? should be capitalized. |
Anonymous | |||
Printed | Page 197 Make the blank-quote examples one and four spaces for clarity. |
Anonymous | |||
Printed | Page 197 Upper |
"From" should be capitalized. Note from the Author or Editor: |
Anonymous | ||
Printed | Page 197 blank-quote examples |
Make the blank-quote examples one and four spaces for clarity. |
Anonymous | ||
Printed | Page 203 Check example beginning with ?SET? for spacing, font. |
Anonymous | |||
Printed | Page 203 |
Check example beginning with "SET" for spacing, font, and missing parenthesis. |
Anonymous | ||
Printed | Page 205 Remove the excess space in the example at the end of the page. |
Anonymous | |||
Printed | Page 205 Example at bottom |
Remove the excess space in the example at the end of the page. Note from the Author or Editor: |
Anonymous | ||
Printed | Page 206 discussion on page |
It should be clarified that the table that is created at the top of page 206 does not have any values stored in it, so the forthcoming queries of pages 206-207 will not work. This may puzzle beginners. Note from the Author or Editor: |
Anonymous | Jan 14, 2009 | |
Printed | Page 213 iddle of page |
?despite the file? should be ?despite the files?. |
Anonymous | ||
Printed | Page 213 middle of page |
"despite the file" should be "despite the files". Note from the Author or Editor: |
Anonymous | ||
Printed | Page 213 Middle |
We haven't added a NOT NULL clause to the artist_name. Instead we'll assume that whatever application we build will do the checking for us. The fewer the constraints and conditions that are built into the database, the faster it is for MySQL to work with. |
Anonymous | Jan 19, 2011 | |
Printed | Page 214 code excerpt at top of page |
This error includes book's accompanying code. The book code excerpt has "time TIME" and says that this is preferred to the alternate DECIMAL type. However, the code has "time DECIMAL(5,2)" in file "data/music.sql". Elsewhere in the book it's clear from table outputs that the decimal type was used; errata on book website has changes this to DECIMAL(3,2). However, page 214 describes TIME as the preferred type. There should be consistency between the type used in the code, the table outputs, and the discussion on this page. Note from the Author or Editor: |
Anonymous | Jan 14, 2009 | |
Printed | Page 225 Upper |
mysql> SELECT CONCAT(artist_name, " recorded ", album_name) AS recording |
Anonymous | Jan 19, 2011 | |
Printed | Page 233 Middle |
mysql> SELECT * FROM track GROUP BY artist_id; |
Anonymous | Jan 19, 2011 | |
Printed | Page 234 first paragraph after heading "The HAVING Clause", second sentence |
change "to use it find" to "to use it to find" |
Anonymous | Jan 14, 2009 | |
Printed | Page 239 top of page |
Check font for ?6 x 13?. |
Anonymous | ||
Printed | Page 239 top of page |
Check font for "6 x 13". |
Anonymous | ||
248 last paragraph |
error in both safari and print: |
Anonymous | Jan 14, 2009 | ||
Printed | Page 248 Spacing is off in top table. |
Anonymous | |||
Printed | Page 248 Spacing is off in top table. |
Anonymous | |||
Printed | Page 248 Upper |
COUNT(*) should be COUNT(played) |
Anonymous | Jan 19, 2011 | |
Printed | Page 252 first sentence |
Remove parentheses from sentence. |
Anonymous | ||
Printed | Page 252 first sentence |
Remove parentheses from sentence. Note from the Author or Editor: |
Anonymous | ||
Printed | Page 255 Lower |
(Boolean OR), the ANY keyword returns values |
Anonymous | Jan 19, 2011 | |
262 code excerpt at top of page |
The SQL query example at top of page should be better chosen. While technically correct the chosen example is redundant and should be replaced with something more meaningful. In this case it makes no sense to use the FROM clause, since the parenthetical statement gives the same result. In other words, running: |
Anonymous | Jan 15, 2009 | ||
Printed | Page 262 Middle |
The outer query is straightforward: it just returns the producer_name and the month value created through the subquery. |
Anonymous | Jan 19, 2011 | |
Printed | Page 268 and 269 Align the plus signs in the tables with the lines beneath. Also do this on 296, 325, 388, 390, 391. |
Anonymous | |||
Printed | Page 268, 269, 296, 325, 388, 390, 391 Tables |
Align the plus signs in the tables with the lines beneath. |
Anonymous | ||
Printed | Page 284 top of page |
Remove ? from around ':'. |
Anonymous | ||
Printed | Page 284 bottom of page |
Make ?c:? uppercase. |
Anonymous | ||
Printed | Page 284 top of page |
Remove ' from around ':'. |
Anonymous | ||
Printed | Page 284 bottom of page |
Make "c:" uppercase. Note from the Author or Editor: |
Anonymous | ||
Printed | Page 302 Check font on ?the_password? |
Anonymous | |||
Printed | Page 302 |
Check font on "the_password" |
Anonymous | ||
Printed | Page 311 Middle |
yazd.invy.com |
Anonymous | Jan 19, 2011 | |
Printed | Page 320 First paragraph, line 3 |
...of access the user partmusic has for the database ResearchPeople. |
Anonymous | ||
Printed | Page 320 First paragraph, line 3 |
...of access the user partmusic has for the database ResearchPeople. |
Anonymous | ||
Printed | Page 331 Check font on the_mysql_root_password?. |
Anonymous | |||
Printed | Page 349 ?set password? and ?password? should be uppercase in examples. |
Anonymous | |||
Printed | Page 349 Middle |
"set password" and "password" should be uppercase in examples. Note from the Author or Editor: |
Anonymous | ||
Printed | Page 356 Lower |
INSERT INTO `track` VALUES (0,'Do You Love Me?',2,1,'00:05:57'), |
Anonymous | Jan 19, 2011 | |
Printed | Page 358 ?set-charset? shouldn't be italicized. |
Anonymous | |||
Printed | Page 358 Lower (penultimate line) |
"set-charset" shouldn't be italicized. |
Anonymous | ||
Printed, PDF, ePub, Mobi, , Other Digital Version | Page 362 Fourth code block |
Doesn't work on Linux Ubuntu: Note from the Author or Editor: |
Chris Piekarski | Aug 28, 2012 | |
Printed | Page 363 top of page |
Check font for ?crontab -1.? |
Anonymous | ||
Printed | Page 363 top of page |
Check font for "crontab -1." Note from the Author or Editor: |
Anonymous | ||
Printed | Page 363 |
In the Run tab, type in the full command above. |
Anonymous | Jan 19, 2011 | |
Printed | Page 390 ?status? should be in user input font. |
Anonymous | |||
Printed | Page 390 |
"status" should be in user input font. Note from the Author or Editor: |
Anonymous | ||
Printed | Page 391 Fragment in last sentence should be set off by em-dashes, not parentheses. |
Anonymous | |||
Printed | Page 391 Fragment in last sentence |
Fragment in last sentence should be set off by em-dashes, not parentheses. Note from the Author or Editor: |
Anonymous | ||
395 1st paragraph, 1st sentence |
(Both in printed version and online.) Note from the Author or Editor: |
Anonymous | Jan 30, 2009 | ||
Printed | Page 409 code sample at top of page |
change: |
Anonymous | Jan 30, 2009 | |
Printed | Page 436 Middle |
There's an unencoded < in this line (< is showing, when it should be <). |
Anonymous | Jan 19, 2011 | |
Printed | Page 456 Lower |
There's an extra ampersand in this line. |
Anonymous | Jan 19, 2011 | |
Printed | Page 463 code sample at top of page |
Change the word "wedding" to "music" in this sentence: |
Anonymous | Jan 30, 2009 | |
Printed | Page 475 Move the second line of the last example up to the first line. |
?About the Authors?: Change ?England? to ?Britain? and ?between civilizations? to ?among civilizations.? |
Anonymous | ||
Printed | Page 475 |
"About the Authors": Change "England" to "Britain" and "between civilizations" to "among civilizations." |
Anonymous | ||
Printed | Page 502 Lower |
There's an extra closing bracket, which should be removed. |
Anonymous | Jan 19, 2011 | |
Printed | Page 506 Lower (last line) |
// Try to unreserve the gift with the matching username and gift ID |
Anonymous | Jan 19, 2011 | |
Printed | Page 514 4th paragraph |
The code: |
Peter Pan | Jan 11, 2010 | |
Printed | Page 542 2nd example on page |
The line: Note from the Author or Editor: |
Chuck Howell | Jul 28, 2009 | |
Printed | Page 549 Example 17-3 |
In the while statement in Example 17-4, it should be Note from the Author or Editor: |
Anonymous | Nov 19, 2010 | |
Printed | Page 579 Upper |
for($matchedrows=0;($row = @ mysqli_fetch_array($result));$matchedrows++); |
Anonymous | Jan 19, 2011 | |
Printed | Page 583 Symbols section of index |
All the symbols seem to be Perl and PHP operators. Why aren't SQL operators listed? Or maybe there is a worse problem: I can't find a list of SQL operators in the book. Note from the Author or Editor: |
Anonymous |