MySQL Cookbook: Solutions for Database Developers and Administrators, 3rd Edition

MySQL Cookbook: Solutions for Database Developers and Administrators, 3rd Edition
Author: Paul DuBois
Pub Date: 2014
ISBN: 978-1-449-37402-0
Pages: 866
Language: English
Format: PDF
Size: 10 Mb

Download

MySQL’s popularity has brought a flood of questions about how to solve specific problems, and that’s where this cookbook is essential. When you need quick solutions or techniques, this handy resource provides scores of short, focused pieces of code, hundreds of worked-out examples, and clear, concise explanations for programmers who don’t have the time (or expertise) to solve MySQL problems from scratch.
Ideal for beginners and professional database and web developers, this updated third edition covers powerful features in MySQL 5.6 (and some in 5.7). The book focuses on programming APIs in Python, PHP, Java, Perl, and Ruby. With more than 200+ recipes, you’ll learn how to:

  • Use the mysql client and write MySQL-based programs
  • Create, populate, and select data from tables
  • Store, retrieve, and manipulate strings
  • Work with dates and times
  • Sort query results and generate summaries
  • Use stored routines, triggers, and scheduled events
  • Import, export, validate, and reformat data
  • Perform transactions and work with statistics
  • Process web input, and generate web content from query results
  • Use MySQL-based web session management
  • Provide security and server administration
+

Table of Contents

1. Using the mysql Client Program
2. Writing MySQL-Based Programs
3. Selecting Data from Tables
4. Table Management
5. Working with Strings
6. Working with Dates and Times
7. Sorting Query Results
8. Generating Summaries
9. Using Stored Routines, Triggers, and Scheduled Events
10. Working with Metadata
11. Importing and Exporting Data
12. Validating and Reformatting Data
13. Generating and Using Sequences
14. Using Joins and Subqueries
15. Statistical Techniques
16. Handling Duplicates
17. Performing Transactions
18. Introduction to MySQL on the Web
19. Generating Web Content from Query Results
20. Processing Web Input with MySQL
21. Using MySQL-Based Web Session Management
22. Server Administration
23. Security