title: MySQL Cookbook
author: Paul DuBois
description: 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. <i>MySQL Cookbook</i> 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.
zlib_text: ![](Images/image00191.jpeg)
  
  **High Availability MySQL**
  
   **Cookbook**
  
  Over 50 simple but incredibly effective recipes focusing on different methods
  of achieving high availability
  
  for MySQL databases
  
  Alex Davies
  
  BIRMINGHAM - MUMBAI
  
   **High Availability MySQL Cookbook**
  
  Copyright © 2010 Packt Publishing
  
  All rights reserved. No part of this book may be reproduced, stored in a
  retrieval system, or transmitted in any form or by any means, without the
  prior written permission of the publisher, except in the case of brief
  quotations embedded in critical articles or reviews.
  
  Every effort has been made in the preparation of this book to ensure the
  accuracy of the information presented. However, the information contained in
  this book is sold without warranty, either express or implied. Neither the
  author, Packt Publishing, nor its dealers or distributors will be held liable
  for any damages caused or alleged to be caused directly or indirectly by this
  book.
  
  Packt Publishing has endeavo