has been reported to me on irc that there is a typo in the doc: http://www.gentoo.org/doc/en/mysql-upgrading.xml code listing 2.1 is missing a "\" after "--quote-names" please add it (thanks langthang)
Fixed in CVS, thanks for reporting.