BN.com Gift Guide

Sams Teach Yourself MySQL in 21 Days

Overview

MySQL is the most widely installed open-source database. Approximately 3.5 million MySQL servers are in use and more than 45% of databases used on Linux worldwide are MySQL databases.

Its latest version, MySQL 4.1 closes the gap between MySQL and other, more sophisticated databases. Version 4.1 permits the use of MySQL as an embedded database, which means it can be compiled into another application and used in a range of devices.

The second ...

See more details below
Paperback
$33.38
BN.com price
(Save 16%)$39.99 List Price
Other sellers (Paperback)
  • All (23) from $1.99   
  • New (9) from $17.10   
  • Used (14) from $1.99   
Sending request ...

Overview

MySQL is the most widely installed open-source database. Approximately 3.5 million MySQL servers are in use and more than 45% of databases used on Linux worldwide are MySQL databases.

Its latest version, MySQL 4.1 closes the gap between MySQL and other, more sophisticated databases. Version 4.1 permits the use of MySQL as an embedded database, which means it can be compiled into another application and used in a range of devices.

The second edition of Sams Teach Yourself MySQL in 21 Days has been completely rewritten by a new author. The book enables a reader to create powerful databases using MySQL. He willnot only learn how to integrate MySQL into a database-driven Web site, but also how to embed MySQL into other compiled applications.

Read More Show Less

Product Details

  • ISBN-13: 9780672323928
  • Publisher: Sams
  • Publication date: 12/28/2002
  • Series: Sams Teach Yourself Series
  • Edition number: 2
  • Pages: 608
  • Product dimensions: 7.30 (w) x 9.20 (h) x 1.40 (d)

Meet the Author

Tony Butcher is a consultant for Tribal Internet. The company develops database-driven Web sites using MySQL, with PHP and other languages. He also takes on specialist MySQL consulting work and has installed, developed, repaired and tuned MySQL systems for over five years.

Having first encountered MySQL in 1997, he quickly recognised it as a powerful tool for enterprise-level systems. Since then has he used it in several mission-critical, heavy-load online databases.

Tony is an occasional contributor to newspapers and trade magazines, writing on various topics relating to computing and the Internet. He also co-authored the first edition of this book.

Read More Show Less

Table of Contents

(NOTE: Each chapter concludes with a Summary, Q&A, and Workshop.)

Introduction.

Day 1. Introduction to MySQL.

What Is MySQL? The Commercial View of MySQL.

Day 2. Installing MySQL.

Installation Overview. Installing on Linux. Installing on OS X. Installing on Windows.

Day 3. Getting Started with Database Design.

The Need for Business Analysis. Analyzing Business Needs. Relationship Modeling. Normalization.

Day 4. Getting Hands-On with MySQL.

The Essential Programs and Files of MySQL. MySQL Users. Installing ODBC.

Day 5. MySQL Data Types.

Overview of Data and Column Types. Numeric Column Types. String Column Types. Date and Time.

Day 6. Manipulating a Database.

Using the mysql Client Program. Creating, Dropping, and Selecting a Database. Manipulating Tables.

Day 7. Inserting and Updating Data.

Inserting Data Using INSERT. Inserting and Replacing Data Using REPLACE. Performing Updates. Importing Data.

Day 8. Querying Data.

The Basics of SELECT Queries. More Advanced Uses of SELECT. Deleting Rows with DELETE.

Day 9. Joins and Indexes.

Joining Tables. Indexes. Managing Indexes in MySQL.

Day 10. Operators and Functions in MySQL.

How to Use This Lesson. Operators. Logical and Conditional Functions. String Functions. Date and Time Functions. Encryption, Encoding, and Checksum Functions.

Day 11. Using PHP.

What Is PHP? A Quick Guide to PHP. The PHP API for MySQL.

Day 12. Using the Perl DBI.

What Is Perl? The Perl Interface to MySQL. Installing DBI and DBD on Linux. DBI Methods. Connecting to MySQL with the DBI. Basics of Database Queries. Handling the Resultset. Queries That Return No Resultset. Handling Query Errors. When to Use Perl.

Day 13. Using the C API.

C and MySQL. When to Use C, and When Not To. Datatypes. Compiling and Linking. Connecting to Your Database. Disconnecting from a Database. Handling Errors. A Simple Connection Script. Running Queries That Return a Resultset. A Simple Query Program. Handling Resultsets. Queries That Return No Resultset.

Day 14. Security.

The MySQL User Privilege System. Managing User Privileges with GRANT and REVOKE. Keeping a MySQL Installation Secure. Making Secure Connections to MySQL.

Day 15. Administration.

Managing a Database with mysqladmin. Setting Variables for MySQL. Other Administration Tools. The MySQL Data Directory. Backing Up. Creating Fast, Compressed Tables with myisampack.

Day 16. Repair and Maintenance.

Checking and Fixing a Corrupted Database. How to Use myisamchk. Checking, Repairing, and Optimizing Using SQL Commands.

Day 17. Transactions and Table Locking.

What Is Table Locking? How MySQL Uses Table Locks. Cooperative Locks. Transaction-Safe Table Types.

Day 18. Optimizing Performance.

Why Optimize Performance? What Do We Mean by Performance Anyway? Factors Affecting Performance. Commands for Optimization.

Day 19. Replication.

What Is Replication? Replication in MySQL. Setting Up a Master-Slave Replication System. Customizing Replication. SQL Commands for Replication. Replication Topologies.

Day 20. Embedding the MySQL Server.

What Is an Embedded System? How to Create an Embedded System. Building Embedded Server Programs.

Day 21. Extending MySQLs Function Library.

Why Create a New Function? An Overview of Installing UDFs. Hands-on: Creating a Simple Function. Writing Your Own UDFs.

Appendix A. Data Type Reference.

Numeric Types. String Types. Date and Time Types.

Appendix B. SQL Reference.

Appendix C. Function and Operator Reference.

Appendix D. The PHP API.

Index.

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)