MySQL, 2/e
暫譯: MySQL, 第二版

Paul DuBois

  • 出版商: New Riders
  • 出版日期: 2003-01-27
  • 售價: $2,050
  • 貴賓價: 9.5$1,948
  • 語言: 英文
  • 頁數: 1248
  • 裝訂: Paperback
  • ISBN: 0735712123
  • ISBN-13: 9780735712126
  • 相關分類: MySQLSQL
  • 已過版

買這商品的人也買了...

商品描述

In the second edition of MySQL Paul DuBois provides an updated, comprehensive guide to one of the most popular relational database systems.

MySQL is the most popular open source database server in the world, with more than 2 million installations and customers including Yahoo!, MP3.com, Motorola, and NASA.

MySQL 4.0, now generally available, is a long-awaited update to the database management system that has many new features, including a new table definition file format, enhanced replication, and more functions for a full text search.

Instead of giving readers merely an overview of MySQL 4.0, DuBois continues to include the most sought-after answers to the questions he hears most often from the community.

Table of Contents

I. GENERAL MYSQL USE.

1. Getting Started with MySQL and SQL.
How MySQL Can Help You. A Sample Database. Basic Database Terminology. A MySQL Tutorial. Tips for Interacting with mysql. Where to Now?

2. Working with Data in MySQL.
MySQL Data Types. MySQL Column Types. Working with Sequences. Character Set Support. Choosing Column Types. Expression Evaluation and Type Conversion.

3. MySQL SQL Syntax and Use.
MySQL Naming Rules. Selecting, Creating, Dropping, and Altering Databases. Creating, Dropping, Indexing, and Altering Tables. Getting Information about Databases and Tables. Retrieving Records from Multiple Tables. Multiple-Table Deletes and Updates. Performing Transactions. Foreign Keys and Referential Integrity. Using FULLTEXT Searches. Writing Comments. Features That MySQL Does Not Support.

4. Query Optimization.
Using Indexing. The MySQL Query Optimizer. Column Type Choices and Query Efficiency. Loading Data Efficiently. Scheduling and Locking Issues. Optimization for Administrators.

II. USING MYSQL PROGRAMMING INTERFACES.

5. Introduction to MySQL Programming.
Why Write Your Own MySQL Programs? APIs Available for MySQL. Choosing an API.

6. The MySQL C API.
General Procedure for Building Client Programs. Client 1—Connecting to the Server. Client 2—Adding Error Checking. Client 3—Getting Connection Parameters at Runtime. Processing Queries. Client 4—An Interactive Query Program. Writing Clients That Include SSL Support. Using the Embedded Server Library. Miscellaneous Topics.

7. The Perl DBI API.
Perl Script Characteristics. Perl DBI Overview. Putting DBI to Work. Using DBI in Web Applications.

8. The PHP API.
PHP Overview. Putting PHP to Work.

III. MYSQL ADMINISTRATION.

9. Introduction to MySQL Administration.
Overview of Administrative Duties. General Administration. Security. Database Repair and Maintenance.

10. The MySQL Data Directory.
Location of the Data Directory. Structure of the Data Directory. Relocating Data Directory Contents.

11. General MySQL Administration.
Securing a New MySQL Installation. Arranging for MySQL Server Startup and Shutdown. Managing MySQL User Accounts. Maintaining Log Files. Additional Server Configuration Topics. Running Multiple Servers. Setting Up Replication Servers. Updating MySQL.

12. Security.
Internal Security: Preventing Unauthorized File System Access. External Security: Preventing Unauthorized Network Access. Setting Up Secure Connections.

13. Database Backups, Maintenance, and Repair.
Coordinating with the Server. Preparing for Disaster. Table Repair and Data Recovery.

IV. APPENDIXES.

Appendix A. Obtaining and Installing Software.
Obtaining the sampdb Sample Database Distribution. Obtaining MySQL and Related Software. Installing MySQL on UNIX. Installing MySQL on Windows.

Appendix B. Column Type Reference.
Numeric Types. String Types. Date and Time Types.

Appendix C. Operator and Function Reference.
Operators. Functions.

Appendix D. SQL Syntax Reference.
SQL Statements. SQL Variables. Comment Syntax.

Appendix E. MySQL Program Reference.
Specifying Program Options. libmysqld. myisamchk and isamchk. myisampack and pack_isam. mysql. mysqlaccess. mysqladmin. mysqlbinlog. mysqlbug. mysqlcheck. mysql_config. mysqld. mysqld_multi. mysqld_safe. mysqldump. mysqlhotcopy. mysqlimport. mysql_install_db. mysql.server. mysqlshow. safe_mysqld.

Appendix F. C API Reference.
Compiling and Linking. C API Data Types. C API Functions.

Appendix G. Perl DBI API Reference.
Writing Scripts. DBI Methods. DBI Utility Functions. DBI Attributes. DBI Environment Variables.

Appendix H. PHP API Reference.
Writing PHP Scripts. Functions.

Appendix I. Internet Service Providers.
Getting Ready to Shop for an ISP. Assessing an ISP—General Considerations. Assessing an ISP—MySQL-Specific Considerations.

Index.

商品描述(中文翻譯)

在《MySQL》第二版中,保羅·杜博伊斯(Paul DuBois)提供了一本更新的、全面的指南,介紹了最受歡迎的關聯式資料庫系統之一。

MySQL 是全球最受歡迎的開源資料庫伺服器,擁有超過 200 萬次的安裝,客戶包括 Yahoo!、MP3.com、摩托羅拉(Motorola)和 NASA。

MySQL 4.0 現已普遍可用,這是對資料庫管理系統的期待已久的更新,具有許多新功能,包括新的表定義檔格式、增強的複製功能以及更多的全文搜尋功能。

杜博伊斯不僅僅是給讀者提供 MySQL 4.0 的概述,他還繼續包括他從社群中聽到的最常見問題的最受歡迎的答案。

目錄

I. 一般 MySQL 使用
1. 開始使用 MySQL 和 SQL
MySQL 如何幫助您。範例資料庫。基本資料庫術語。MySQL 教學。與 mysql 互動的提示。接下來該怎麼辦?

2. 在 MySQL 中處理資料
MySQL 資料類型。MySQL 欄位類型。處理序列。字元集支援。選擇欄位類型。表達式評估和類型轉換。

3. MySQL SQL 語法和使用
MySQL 命名規則。選擇、創建、刪除和修改資料庫。創建、刪除、索引和修改表。獲取有關資料庫和表的資訊。從多個表檢索記錄。多表刪除和更新。執行交易。外鍵和參考完整性。使用 FULLTEXT 搜尋。撰寫註解。MySQL 不支援的功能。

4. 查詢優化
使用索引。MySQL 查詢優化器。欄位類型選擇和查詢效率。有效載入資料。排程和鎖定問題。管理員的優化。

II. 使用 MySQL 程式介面
5. MySQL 程式設計簡介
為什麼要編寫自己的 MySQL 程式?可用於 MySQL 的 API。選擇 API。

6. MySQL C API
建立客戶端程式的一般程序。客戶端 1—連接到伺服器。客戶端 2—添加錯誤檢查。客戶端 3—在執行時獲取連接參數。處理查詢。客戶端 4—互動查詢程式。撰寫包含 SSL 支援的客戶端。使用嵌入式伺服器庫。其他主題。

7. Perl DBI API
Perl 腳本特性。Perl DBI 概述。使用 DBI。

8. PHP API
PHP 概述。使用 PHP。

III. MySQL 管理
9. MySQL 管理簡介
管理職責概述。一般管理。安全性。資料庫修復和維護。

10. MySQL 資料目錄
資料目錄的位置。資料目錄的結構。重新定位資料目錄內容。

11. 一般 MySQL 管理
確保新的 MySQL 安裝安全。安排 MySQL 伺服器啟動和關閉。管理 MySQL 使用者帳戶。維護日誌檔案。其他伺服器配置主題。運行多個伺服器。設置複製伺服器。更新 MySQL。

12. 安全性
內部安全性:防止未經授權的檔案系統訪問。外部安全性:防止未經授權的網路訪問。設置安全連接。

13. 資料庫備份、維護和修復
與伺服器協調。為災難做準備。表修復和資料恢復。

IV. 附錄
附錄 A. 獲取和安裝軟體
獲取 sampdb 範例資料庫發行版。獲取 MySQL 和相關軟體。在 UNIX 上安裝 MySQL。在 Windows 上安裝 MySQL。

附錄 B. 欄位類型參考
數值類型。字串類型。日期和時間類型。

附錄 C. 運算子和函數參考
運算子。函數。

附錄 D. SQL 語法參考
SQL 語句。SQL 變數。註解語法。

附錄 E. MySQL 程式參考
指定程式選項。libmysqld。myisamchk 和 isamchk。myisampack 和 pack_isam。mysql。mysqlaccess。mysqladmin。mysqlbinlog。mysqlbug。mysqlcheck。mysql_config。mysqld。mysqld_multi。mysqld_safe。mysqldump。mysqlhotcopy。mysqlimport。mysql_install_db。mysql.server。mysqlshow。safe_mysqld。

附錄 F. C API 參考
編譯和連結。C API 資料類型。C API 函數。

附錄 G. Perl DBI API 參考
撰寫腳本。DBI 方法。DBI 實用函數。DBI 屬性。DBI 環境變數。

附錄 H. PHP API 參考
撰寫 PHP 腳本。函數。

附錄 I. 網際網路服務提供者
準備選擇 ISP。評估 ISP—一般考量。評估 ISP—MySQL 特定考量。

索引。