United States

eShop USA > Books > MySQL Cookbook

MySQL Cookbook


MySQL Cookbook  
List Price: $49.99
Our Price: $31.49
You Save: $18.50 (37%)
Prices subject to change.

7 used from $25.94
26 Thirdparty New from $25.95


Availability: Usually ships in 24 hours

Click here for lowest price offers



Save $5.00 when you spend $25.00 or more on Qualifying Items offered by Amazon.com. Enter code BMLSAVES at checkout.


Binding: Paperback
Dewey Decimal Number: 005.13
EAN: 9780596527082
Edition: Second
ISBN: 059652708X
Label: O'Reilly Media, Inc.
Manufacturer: O'Reilly Media, Inc.
Number Of Items: 1
Number Of Pages: 975
Publication Date: January 27, 2007
Publisher: O'Reilly Media, Inc.
Studio: O'Reilly Media, Inc.


Related Items: Featured Listmania! Editorial Review:
Good programming--which is to say, programming that yields both efficient code and a profitable life for the programmer--depends on not reinventing the wheel. If someone else has solved the problem you're facing (and someone almost always has), you'd be foolish to waste your energy figuring out your own solution. MySQL Cookbook presents solutions to scores of problems related to the MySQL database server. Readers stand a good chance of finding a ready-made solution to problems such as querying databases, validating and formatting data, importing and exporting values, and using advanced features like session tracking and transactions. Paul DuBois has done a great job assembling efficient solutions to common database programming problems, and teaches his readers a lot about MySQL and its attendant APIs in the process.
DuBois organizes his cookbook's recipes into sections on the problem, the solution stated simply, and the solution implemented in code and discussed. The implementation and discussion sections are the most valuable, as they contain the command sequences, code listings, and design explanations that can be transferred to outside projects. The main gripe readers will have about MySQL Cookbook is that the author, in his effort to cover the range of MySQL-friendly programming languages, uses different languages in his solutions to various problems. You'll see a Perl solution to one programming challenge (Perl, in fact, is the most frequently used language, followed by PHP), a Python fix for the next, and a Java sample after that. Readers have to hope that they find a solution in the language they're working with, or that they're able to transliterate the one DuBois has provided. It's usually not a big problem. --David Wall
Topics covered: How to make MySQL databases do your bidding--in terms of queries, table manipulation, data formatting, transactions, and Web interfaces--through the database server's command line interfaces and (more importantly) through the MySQL APIs of Perl, PHP, Java, and Python. Particularly excellent coverage deals with formatting dates and times, management of null values, string manipulation, and import/export techniques.
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
"MySQLCookbook" 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.

Customer Reviews
Average Rating:  out of 5 stars

Rating:  out of 5 stars - excellent resource
This book is
-a great resource for those looking to implement various mysql functions
-a great resource for database programmers
-a trove of information on powerful query and sort techniques

Finding information about the topic you're looking for is a breeze in this book - the chapters are well-organized, and this book has anwered all questions I've posed to it....

The cookbook is a powerful tool to those who know some mysql, and some dB design. I recommend ... Read More



Rating:  out of 5 stars - True to the Title
As indicated, this book is true to its title. It is a cookbook, by which I mean it contains a great number of (generally useful) recipes of varying complexity, but lacks detail and analysis that a more focused text would have.

Mr. DuBois and O'Reilly publishing are clearly targeting a wide audience: the recipes range from frighteningly simple (e.g. 3.1, Specifying Which Columns to Select) to fairly sophisticated (e.g. 12.14, Performing a Join Between Tables in Different Databases). The ... Read More



Rating:  out of 5 stars - Useful book
This book is useful for anyone looking to find examples of MySQL 4 usage in multiple languages such as PHP, Perl, Java, and Python. It covers many areas that are used in real world applications and is great as a reference material. This book is structured in the Problem/Solution layout of the Oreilly cookbook series.



Rating:  out of 5 stars - Excellent book
While I'm very familiar with working with relational databases, my MySQL skills are weak. This book was exactly what I needed while building a new web application that uses MySQL. For every question I had, I found the answer in this book. Highly recommended.



Rating:  out of 5 stars - For "anybody who uses MySQL"

Visuals
Good. Page numbers and section title can be found on the bottom of every page.

Audience
From the book: "This book should be useful for anybody who uses MySQL, ranging from individuals [...] to professional database and web developers."

That is a pretty broad range, basically from introductory to advanced. Nevertheless I would have to say that the book meets this challenge well. This book should be of use to anybody who uses MySQL.

Practicality: ... Read More


Related Categories:


Recently viewed PC Hardware:


Acer Ferrari 5000-5832 15.4" Laptop (AMD Turion 64 X2 Mobile Processor, 2 GB RAM, 160 GB Hard Drive, DVD Drive, Vista Ultimate)
Acer Ferrari 5000-5832 15.4" Laptop (AMD Turion 64 X2 Mobile Processor, 2 GB RAM, 160 GB Hard Drive, DVD Drive, Vista Ultimate)
Advanced Port Rep III Plus
Advanced Port Rep III Plus
Satellite 1200-S121
Satellite 1200-S121
Sony VAIO PCG-K27 Laptop (3.06 GHz Pentium 4-M, 512 MB RAM, 80 GB Hard Drive, DVD+/-RW Drive)
Sony VAIO PCG-K27 Laptop (3.06 GHz Pentium 4-M, 512 MB RAM, 80 GB Hard Drive, DVD+/-RW Drive)
HP Pavilion DV6755US 15.4-inch Entertainment Laptop (Intel Core 2 Duo T5450 Processor, 2 GB RAM, 250 GB Hard Drive, Vista Premium)
HP Pavilion DV6755US 15.4-inch Entertainment Laptop (Intel Core 2 Duo T5450 Processor, 2 GB RAM, 250 GB Hard Drive, Vista Premium)


Books

  Arts & Photography
  Biographies & Memoirs
  Business & Investing
  Children's Books
  Comics & Graphic Novels
  Computers & Internet
  Cooking, Food & Wine
  Engineering
  Entertainment
  Gay & Lesbian
  Health, Mind & Body
  History
  Home & Garden
  Horror
  Law
  Literature & Fiction
  Medicine
  Mystery & Thrillers
  Nonfiction
  Outdoors & Nature
  Parenting & Families
  Professional & Technical
  Reference
  Religion & Spirituality
  Romance
  Science
  Science Fiction & Fantasy
  Sports
  Teens
  Travel