MySQL Cookbook

MySQL Cookbook

by PaulDuBois (Author)

Synopsis

Along with MySQL's popularity has come a flood of questions about solving specific problems, and that's where this Cookbook is essential. Designed as a handy resource when you need quick solutions or techniques, the book offers dozens of short, focused pieces of code and hundreds of worked-out examples for programmers of all levels who don't have the time (or expertise) to solve MySQL problems from scratch. The new edition covers MySQL 5.0 and its powerful new features, as well as the older but still widespread MySQL 4.1. One major emphasis of this book is how to use SQL to formulate queries for particular kinds of questions, using the mysql client program included in MySQL distributions. The other major emphasis is how to write programs that interact with the MySQL server through an API. You'll find plenty of examples using several language APIs in multiple scenarios and situations, including the use of Ruby to retrieve and format data. There are also many new examples for using Perl, PHP, Python, and Java as well. Other recipes in the book teach you to: access data from multiple tables at the same time; use SQL to select, sort, and summarize rows; find matches or mismatches between rows in two tables; determine intervals between dates or times, including age calculations; store images into MySQL and retrieve them for display in web pages; get LOAD DATA to read your data files properly or find which values in the file are invalid; use strict mode to prevent entry of bad data into your database; copy a table or a database to another server; generate sequence numbers to use as unique row identifiers; create database events that execute according to a schedule; and a lot more. MySQL Cookbook doesn't attempt to develop full-fledged, complex applications. Instead, it's intended to assist you in developing applications yourself by helping you get past problems that have you stumped.

$3.24

Save:$37.38 (92%)

Quantity

1 in stock

More Information

Format: Paperback
Pages: 960
Edition: 2
Publisher: O′Reilly
Published: 27 Nov 2006

ISBN 10: 059652708X
ISBN 13: 9780596527082

Author Bio
Paul DuBois is one of the primary contributors to the MySQL Reference Manual, a renowned online manual that has supported MySQL administrators and database developers for years, now available in an attractive paper format from the O'Reilly Community Press. He is also the author of Using csh & tcsh and Software Portability with imake by O'Reilly, as well as MySQL and MySQL and Perl for the Web by New Riders.