Table of Contents
Preface and Notes .........................................................................................................................xxix
1. General Information .......................................................................................................................1
1.1. About This Manual ..............................................................................................................1
1.2. Typographical and Syntax Conventions ......................................................................................2
1.3. Overview of the MySQL Database Management System ..................................................................3
1.3.1. What is MySQL? ......................................................................................................3
1.3.2. History of MySQL ....................................................................................................4
1.3.3. The Main Features of MySQL .......................................................................................4
1.4. MySQL Development History .................................................................................................7
1.5. What Is New in MySQL 5.1 ....................................................................................................7
1.6. MySQL Information Sources ..................................................................................................9
1.6.1. MySQL Mailing Lists .................................................................................................9
1.6.2. MySQL Community Support at the MySQL Forums .......................................................... 11
1.6.3. MySQL Community Support on Internet Relay Chat (IRC) .................................................. 11
1.6.4. MySQL Enterprise .................................................................................................. 11
1.7. How to Report Bugs or Problems ........................................................................................... 12
1.8. MySQL Standards Compliance .............................................................................................. 15
1.8.1. What Standards MySQL Follows ................................................................................. 15
1.8.2. Selecting SQL Modes ............................................................................................... 15
1.8.3. Running MySQL in ANSI Mode .................................................................................. 15
1.8.4. MySQL Extensions to Standard SQL ............................................................................. 16
1.8.5. MySQL Differences from Standard SQL ........................................................................ 18
1.8.6. How MySQL Deals with Constraints ............................................................................. 22
1.9. Credits ........................................................................................................................... 24
1.9.1. Contributors to MySQL ............................................................................................ 24
1.9.2. Documenters and translators ....................................................................................... 28
1.9.3. Packages that support MySQL ..................................................................................... 29
1.9.4. Tools that were used to create MySQL ........................................................................... 30
1.9.5. Supporters of MySQL .............................................................................................. 30
2. Installing and Upgrading MySQL ..................................................................................................... 31
2.1. General Installation Guidance ................................................................................................ 32
2.1.1. Operating Systems Supported by MySQL Community Server ............................................... 32
2.1.2. Choosing Which MySQL Distribution to Install ................................................................ 33
2.1.3. How to Get MySQL ................................................................................................. 36
2.1.4. Verifying Package Integrity Using MD5 Checksums or GnuPG ............................................. 36
2.1.5. Installation Layouts ................................................................................................. 38
2.1.6. Compiler-Specific Build Characteristics ......................................................................... 39
2.2. Installing MySQL from Generic Binaries on Unix/Linux ................................................................ 39
2.3. Installing MySQL on Microsoft Windows ................................................................................. 41
2.3.1. MySQL Installation Layout on Microsoft Windows ........................................................... 42
2.3.2. Choosing the Installation Package for Microsoft Windows ................................................... 43
2.3.3. Installing MySQL on Microsoft Windows Using an MSI Package .......................................... 46
2.3.4. Using the MySQL Server Instance Config Wizard ............................................................. 51
2.3.5. Installing MySQL on Microsoft Windows Using a noinstall Zip Archive ............................ 65
2.3.6. Troubleshooting a Microsoft Windows MySQL Server Installation ......................................... 71
2.3.7. Upgrading MySQL Server on Microsoft Windows ............................................................. 73
2.3.8. MySQL Server on Microsoft Windows Postinstallation Procedures ......................................... 73
2.4. Installing MySQL on Mac OS X ............................................................................................ 75
2.4.1. General Notes on Installing MySQL on Mac OS X ............................................................ 75
2.4.2. Installing MySQL on Mac OS X Using Native Packages ..................................................... 76
2.4.3. Installing the MySQL Startup Item ............................................................................... 78
2.4.4. Installing and Using the MySQL Preference Pane .............................................................. 81
2.4.5. Using the Bundled MySQL on Mac OS X Server .............................................................. 82
2.5. Installing MySQL on Linux .................................................................................................. 83
2.5.1. Installing MySQL from RPM Packages on Linux .............................................................. 84
2.5.2. Installing MySQL on Linux using Native Package Manager .................................................. 87
2.6. Installing MySQL on Solaris and OpenSolaris ............................................................................ 90
2.6.1. Installing MySQL on Solaris using a Solaris PKG .............................................................. 91
2.6.2. Installing MySQL on OpenSolaris using IPS .................................................................... 91
2.7. Installing MySQL on IBM AIX ............................................................................................. 92
2.7.1. General Notes on Installing MySQL on AIX .................................................................... 92
2.8. Installing MySQL on HP-UX ................................................................................................ 92
2.8.1. General Notes on Installing MySQL on HP-UX ................................................................ 93
2.8.2. Installing MySQL on HP-UX using DEPOT .................................................................... 93
v