Learn how to use MySQL, a popular database product that supports key subsets of SQL on Linux and Unix systems. Using C/C++, Java, Perl, PHP, or Python, you can write programs to interact with a MySQL database, either as a stand-alone application or through a web page. This book covers the whole process, from installation to programming interfaces and database administration. It includes ample tutorial material and examples.
-
Introduction
-
Chapter 1 MySQL
- Relational Databases
- The History of MySQL
- MySQL Design
- MySQL Features
- MySQL Applications
- What You Get
-
Chapter 2 Installation
- Preparation
- Unix Installation
- Windows Installation
-
Chapter 3 SQL According to MySQL
- SQL Basics
- Database Creation
- Table Management
- MySQL Data Types
- Indexing
- Managing Data
- Queries
- SQL Operators
- Advanced Features
-
Chapter 4 Database Administration
- Configuration
- Server Startup and Shutdown
- Logging
- Backup
- Recovery
- Table Maintenance and Crash Recovery
-
-
MySQL Administration
-
Chapter 5 Performance Tuning
- An Approach to Performance Tuning
- Application Tuning
- Database Server Tuning
- Operating System/Hardware Tuning
-
Chapter 6 Security
- Database Security
- System Security
- Application Security
-
Chapter 7 Database Design
- Database Design Primer
- Normalization
- A Logical Data-Modeling Methodology
- Physical Database Design
-
-
MySQL Programming
-
Chapter 8 Database Applications
- Architecture
- Connections and Transactions
- Object/Relational Modeling
-
Chapter 9 Perl
- Introduction to DBI
- DBI and CGI
- A General Model for Maintainable Perl Programs
-
Chapter 10 Python
- DB-API
- Proprietary Operations
- Applied DB-API
-
Chapter 11 PHP
- Introducing PHP
- Installing PHP
- Accessing the MySQL DBMS with PHP
- Securing User Data
- Managing Sessions
- Writing Data with PHP
- Using the HTML <form> Environment
- Where to Find Out More
-
Chapter 12 C API
- API Overview
- The C API in Practice
- Advanced Issues
-
Chapter 13 Java
- The JDBC API
- Simple Database Access
- Dynamic Database Access
- A Guest Book Servlet
-
Chapter 14 Extending MySQL
- User-Defined Functions
- Alternative Character Sets
-
-
MySQL Reference
-
Chapter 15 SQL Syntax for MySQL
- Basic Syntax
- SQL Commands
-
Chapter 16 MySQL Data Types
- Numeric Data Types
- String Data Types
- Date Data Types
- Complex Data Types
-
Chapter 17 Operators and Functions
- Operators
- Functions
-
Chapter 18 MySQL PHP API Reference
- Data Types
- Functions
-
Chapter 19 C Reference
- Data Types
- Functions
-
Chapter 20 The Python DB-API
- Module: MySQLdb
-
-
Colophon
- Title:
- Managing & Using MySQL, Second Edition
- By:
- Tim King, George Reese, Randy Yarger, Hugh E. Williams
- Publisher:
- O'Reilly Media
- Formats:
-
- Safari Books Online
- Print Release:
- April 2002
- Pages:
- 448
- Print ISBN:
- 978-0-596-00211-4
- | ISBN 10:
- 0-596-00211-4
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. Kingfishers The animals featured on the cover of Managing & Using MySQL 2nd Edition are kingfishers. This type of bird can be found all over the world, including North America, Europe, Africa, and New Zealand, with the greatest numbers being found in southeast Asia. There are over 80 species of kingfishers, which range in size from five to eighteen inches and which cover a broad spectrum of color. These typically long-billed birds pair for life and are considered to be very territorial. Their nests are long and tunnel-shaped, and are often found in exposed tree roots or water banks.
Most kingfishers live along the banks of rivers or lakes, as the primary staple of their diet is fish. To catch its prey, a kingfisher will perch on a branch above water, watch for a fish, hover for a moment, and then dive headfirst into the water, grabbing the fish in its beak, and heading back up to the surface. The process takes about a third of a second. The kingfisher's diet also consists of spiders, insects, and small amphibians.




