Buying Options
MySQL in a Nutshell
Ebook $27.99
Add to Cart
Safari Books Online
Add to Cart
What is this?

Product Editions

Please consider the latest edition.

  1. MySQL in a Nutshell, Second Edition - April 2008
  2. MySQL in a Nutshell - May 2005
Description
MySQL in a Nutshell covers all MySQL functions, as well as MySQL administration, and listings for the most important language APIs available to programmers. This wealth of information is packed into the concise, comprehensive, and extraordinarily easy-to-use format for which the in a Nutshell guides are renowned. It clearly documents every detail you need to master MySQL.
Full Description
Table of Contents
  1. Chapter 1 Introduction to MySQL

    1. The Value of MySQL

    2. The MySQL Package

    3. Licensing

    4. Mailing Lists

    5. Books and Other Publications

  2. Chapter 2 Installing MySQL

    1. Choosing a Distribution

    2. Unix Source Distributions

    3. Unix Binary Distributions

    4. Linux RPM Distributions

    5. Macintosh OS X Distributions

    6. Novell NetWare Distributions

    7. Windows Distributions

    8. Postinstallation

  3. Chapter 3 MySQL Basics

    1. The mysql Client

    2. Creating a Database and Tables

    3. Show Me

    4. Inserting Data

    5. Selecting Data

    6. Ordering, Limiting, and Grouping

    7. Analyzing and Manipulating Data

    8. Changing Data

    9. Deleting Data

    10. Searching Data

    11. Importing Data in Bulk

    12. Command-Line Interface

    13. Conclusion

  4. Chapter 4 SQL Statements

    1. Statements Grouped by Type

    2. Statements and Clauses in Alphabetical Order

  5. Chapter 5 String Functions

    1. String Functions Grouped by Type

    2. String Functions in Alphabetical Order

  6. Chapter 6 Date and Time Functions

    1. Date and Time Functions Grouped by Type

    2. Date and Time Functions in Alphabetical Order

  7. Chapter 7 Mathematical and Aggregate Functions

    1. Functions in Alphabetical Order

  8. Chapter 8 Flow Control Functions

    1. Functions in Alphabetical Order

  9. Chapter 9 Miscellaneous Functions

    1. Functions in Alphabetical Order

  10. Chapter 10 MySQL Server and Client

  11. Chapter 11 Command-Line Utilities

  12. Chapter 12 Perl API

    1. Using Perl DBI with MySQL

    2. Perl DBI Method and Function Reference

    3. Attributes for Handles

  13. Chapter 13 PHP API

    1. Using PHP with MySQL

    2. PHP MySQL Functions in Alphabetical Order

  14. Chapter 14 C API

    1. Using C with MySQL

    2. Functions in Alphabetical Order

    3. C API Datatypes

  1. Appendix A Datatypes

    1. Numeric Datatypes

    2. Accurate Numeric Types

    3. Approximate Numeric Datatypes

    4. Date and Time Datatypes

    5. String Datatypes

  2. Appendix B Operators

    1. Arithmetic Operators

    2. Relational Operators

    3. Logical Operators

    4. Bitwise Operators

  3. Appendix C Environment Variables

  4. Colophon

View Full Table of Contents
Product Details
Title:
MySQL in a Nutshell
By:
Russell Dyer
Publisher:
O'Reilly Media
Formats:
  • Print
  • Ebook
  • Safari Books Online
Print Release:
May 2005
Ebook Release:
June 2009
Pages:
352
Print ISBN:
978-0-596-00789-8
| ISBN 10:
0-596-00789-2
Ebook ISBN:
978-0-596-10509-9
| ISBN 10:
0-596-10509-6
Customer Reviews
About the Author
  1. Russell Dyer

    Russell Dyer has worked full-time for several years as a free-lance writer of computer articles, primarily on MySQL. He has been working with MySQL AB as the editor of their new Knowledge Base since December 2004. He is the author of "MySQL in a Nutshell" (O'Reilly), and has published over ninety articles for several magazines: Dev Zone (a MySQL publication), Linux Journal, ONlamp.com, The Perl Journal, Red Hat Magazine, SysAdmin Magazine, Tech Republic, Unix Review, and XML.com. A list of his published articles with links to them can be found on his web site at http://russell.dyerhouse.com.

    View Russell Dyer's full profile page.

Colophon

Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal appearing on the cover of MySQL in a Nutshell is the pied kingfisher (Ceryle rudis). At 80 grams and 28 centimeters in length, the pied kingfisher is the largest bird in the world capable of a true hover in still air. Like most kingfishers, it hunts small fish from a perch or by hovering over open water. But unlike others, the pied kingfisher often travels up to three miles from land. While the closely related giant kingfisher relies heavily on shoreline perching places, the pied kingfisher can hover above choppy water and swallow its prey on the wing. For this adaptive skill, the pied kingfisher is consider the most advanced of the 87 kingfisher species.

Pied kingfishers are common and widespread across much of Africa, the Middle East, and Southeast Asia, and are easily distinguishable from other kingfishers by their unique black and white markings. Never far from water, pied kingfishers breed in burrows excavated into riverbanks. These birds form family groups, with the previous season's offspring often helping to raise their parents' next brood. Additional male helpers may also contribute food depending on their availability. If food is scarce, the breeding male feeds its mate, while helpers feed both parents and chicks after hatching. Helpers may thus increase their chances of mating with a nesting female the following year.

Although kingfishers are known for their fishing skills, many kingfishers don't eat fish at all; among those that do, less than half of all dives are successful. kingfishers are apparently blind under water, so their survival depends on perfect aim from above. They are able to judge both the size and depth of fish swimming below-the two greatest factors in determining a likely and rewarding catch. The instant a kingfisher hits water, opaque, protective third eyelids called nictitating membranes cover the eyes. More than a few hungry kingfishers have been seen emerging with stones in their bills. Still, among piscivorous birds, the kingfisher has earned its name justly. Sarah Sherman was the production editor and proofreader, and Audrey Doyle was the copyeditor for MySQL in a Nutshell. Adam Witwer and Mary Anne Weeks Mayo provided quality control. Lydia Onofrei provided production assistance. Lucie Haskins wrote the index.

Ellie Volckhausen designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Karen Montgomery produced the cover layout with InDesign CS using Adobe's ITC Garamond font.

David Futato designed the interior layout. This book was converted by Joe Wizda to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano, Jessamyn Read, and Lesley Borash using Macromedia FreeHand MX and Adobe Photoshop CS. This colophon was written by Lydia Onofrei.

  • Book cover of MySQL in a Nutshell