Errata


Print Print Icon

Submit your own errata for this product.


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 "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



Version Location Description Submitted By Corrected
Printed Page xi
“the staff is” should be “the staff are”

Anonymous 
Printed Page xv
under "Using Code Examples":

"Ttahaghoghi"
should be
"Tahaghoghi"

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 19
“filename” should be “myfile.txt” in examples.

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 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 61
Under “Installing Under Mac OS X”

“noninstallation” should be “non-installation” in the second bullet point.

Anonymous 
Printed Page 75
Change “password” to “mypass” in examples.

Anonymous 
Printed Page 76
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 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 85
Insert “file” after “script” in the second sentence under “Stopping and Starting Apache”

Anonymous 
Printed Page 87
Under “Setting Up Perl”

“nontrivial” should be “complex.”

Anonymous 
Printed Page 97
Align “>” throughout.

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 102
Change “password” to “mypass” in examples.

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 109
Change “his” to “their” before table.

Anonymous 
Printed Page 110
Align the first letter of the course name in the tables throughout.

Anonymous 
Printed Page 116
Move “m” to the customer vertex.



Anonymous 
Printed Page 118
Figure 4-5,

"Appplications"
should be
"Applications"

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"
"album" to "Album"
"track" to "Track"
"played" to "Played"

Anonymous 
Printed Page 123
Capitalize the first letters of entity names.

Anonymous 
Printed Page 127
2nd to last paragraph

Change “trips” to “legs” in the first sentence.

Anonymous 
Printed Page 145
middle of page

“a percentage character” should be “the percentage character.”

Anonymous 
Printed Page 146
Align “>” throughout.

Anonymous 
Printed Page 149
the query examples should include parentheses as below

mysql> SELECT * FROM album WHERE album_id > 2
-> AND (NOT album_id) = 4 OR album_id = 6;
...
mysql> SELECT * FROM album WHERE (NOT album_id) = 4;
...
mysql> SELECT * FROM album WHERE (NOT album_id) != 4;

Anonymous 
Printed Page 154
“binary” should be all caps in example.

Anonymous 
Printed Page 156
In the last sentence before “Joining Two Tables” section, reverse “10” and “5”.

Anonymous 
Printed Page 163
middle of page

“auto_increment” should be all caps.

Anonymous 
Printed Page 165
second-to-last paragraph

“whose” should be “for which the”.

Anonymous 
Printed Page 168
Under "The DELETE STATEMENT'

“multitable” should be “multi-table”

Anonymous 
Printed Page 173
Check font on the_mysql_root_password”. Also on 331.

Anonymous 
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 183
4th line from the bottom

than should be that

Anonymous 
Printed Page 187
Delete “instead” from the “creating temporary tables” section.

Anonymous 
Printed Page 191
bottom of page, 3rd sentence up from code exerpt

"You can use the SHOW WARNINGS command to reports"
change "to reports" to "to report"


Side note: Your old errata page has an outdated link ("submit your own errata...":
http://oreilly.com/catalog/learnmysql/errata/

Anonymous 
Printed Page 192
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 203
Check example beginning with “SET” for spacing, font.

Anonymous 
Printed Page 205
Remove the excess space in the example at the end of the page.

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.

Anonymous 
Printed Page 213
iddle of page

“despite the file” should be “despite the files”.

Anonymous 
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:
DECIMAL(5,2) is the choice used for the book; the errata actually correct to use this, not DECIMAL(3,2).

Anonymous 
Printed Page 234
first paragraph after heading "The HAVING Clause", second sentence

change "to use it find" to "to use it to find"

Anonymous 
Printed Page 239
top of page

Check font for “6 x 13”.

Anonymous 
Safari Books Online 248
last paragraph

error in both safari and print:

look for "rollRIGHT JOIN" in paragraph, change this to "RIGHT JOIN"

Anonymous 
Printed Page 248
Spacing is off in top table.

Anonymous 
Printed Page 252
first sentence

Remove parentheses from sentence.

Anonymous 
Safari Books Online 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:

mysql> SELECT producer_name, months FROM
-> (SELECT producer_name, years*12 AS months FROM producer) AS prod;

is equivalent to running:

SELECT producer_name, years*12 AS months FROM producer

Anonymous 
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 284
top of page

Remove ‘ from around ':'.

Anonymous 
Printed Page 284
bottom of page

Make “c:” uppercase.

Anonymous 
Printed Page 302
Check font on “the_password”

Anonymous 
Printed Page 320
First paragraph, line 3

...of access the user partmusic has for the database ResearchPeople.
should be:
...of access the user partmusic has for the database music.

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 358
“set-charset” shouldn't be italicized.

Anonymous 
Printed Page 363
top of page

Check font for “crontab -1.”

Anonymous 
Printed Page 390
“status” should be in user input font.

Anonymous 
Printed Page 391
Fragment in last sentence should be set off by em-dashes, not parentheses.

Anonymous 
Safari Books Online 395
1st paragraph, 1st sentence

(Both in printed version and online.)

"wePHPMyb" makes no sense.

---
P.S.
This errata form requires and email and name, but these are not listed as required fields.

Anonymous 
Printed Page 409
code sample at top of page

change:

while($row = @ mysql_fetch_array($result))

to:

while($row = @ mysql_fetch_array($result, MYSQL_ASSOC))

(add the missing MYSQL_ASSOC) as is shown in the full code on p. 406

Anonymous 
Printed Page 463
code sample at top of page

Change the word "wedding" to "music" in this sentence:

// Connect to the MySQL DBMS and use the wedding database

Anonymous 
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 


"If you only get one book on mySQL then get this one because it has everything you need."
--Stephen Chapman, Felgall.com