Oracle 5.0 Reference Manual page 4

Table of Contents

Advertisement

2.10.7. Windows Postinstallation Procedures ................................................................ 88
2.10.8. Installing MySQL from Source on Windows ....................................................... 90
2.11. Installing MySQL on Mac OS X .................................................................................. 95
2.12. Installing MySQL from RPM Packages on Linux .......................................................... 97
2.13. Installing MySQL on Solaris ...................................................................................... 100
2.14. Installing MySQL on i5/OS ........................................................................................ 101
2.15. Installing MySQL on NetWare ................................................................................... 105
2.17. Installing MySQL from Source ................................................................................... 109
2.17.1. Installing MySQL from a Standard Source Distribution ..................................... 110
2.17.2. Installing MySQL from a Development Source Tree ......................................... 113
2.17.3. MySQL Source-Configuration Options ............................................................. 115
2.17.4. Dealing with Problems Compiling MySQL ....................................................... 123
2.18. Postinstallation Setup and Testing ............................................................................. 127
2.18.1. Unix Postinstallation Procedures ..................................................................... 127
2.18.2. Securing the Initial MySQL Accounts .............................................................. 138
2.19. Upgrading or Downgrading MySQL ........................................................................... 142
2.19.1. Upgrading MySQL ......................................................................................... 142
2.19.2. Downgrading MySQL ..................................................................................... 153
2.19.3. Checking Whether Tables or Indexes Must Be Rebuilt ..................................... 154
2.19.4. Rebuilding or Repairing Tables or Indexes ...................................................... 156
2.19.5. Copying MySQL Databases to Another Machine ............................................. 158
2.20. Operating System-Specific Notes .............................................................................. 159
2.20.1. Linux Notes ................................................................................................... 159
2.20.2. Mac OS X Notes ........................................................................................... 165
2.20.3. Solaris Notes ................................................................................................. 165
2.20.4. BSD Notes .................................................................................................... 169
2.20.5. Other Unix Notes ........................................................................................... 172
2.20.6. OS/2 Notes ................................................................................................... 187
2.21. Environment Variables .............................................................................................. 187
2.22. Perl Installation Notes ............................................................................................... 188
2.22.1. Installing Perl on Unix .................................................................................... 189
2.22.2. Installing ActiveState Perl on Windows ........................................................... 190
3. Tutorial ................................................................................................................................. 193
3.1. Connecting to and Disconnecting from the Server ........................................................ 193
3.2. Entering Queries ........................................................................................................ 194
3.3. Creating and Using a Database .................................................................................. 197
3.3.1. Creating and Selecting a Database .................................................................. 198
3.3.2. Creating a Table .............................................................................................. 199
3.3.3. Loading Data into a Table ................................................................................ 200
3.3.4. Retrieving Information from a Table .................................................................. 201
3.4. Getting Information About Databases and Tables ......................................................... 213
3.6. Examples of Common Queries .................................................................................... 216
3.6.1. The Maximum Value for a Column ................................................................... 216
3.6.2. The Row Holding the Maximum of a Certain Column ......................................... 216
3.6.3. Maximum of Column per Group ....................................................................... 217
3.6.5. Using User-Defined Variables ........................................................................... 218
3.6.6. Using Foreign Keys ......................................................................................... 218
3.6.7. Searching on Two Keys ................................................................................... 220
3.6.8. Calculating Visits Per Day ................................................................................ 220
3.7. Using MySQL with Apache ......................................................................................... 222
4. MySQL Programs .................................................................................................................. 223
4.1. Overview of MySQL Programs .................................................................................... 224
MySQL 5.0 Reference Manual
in Batch Mode ....................................................................................... 214
................................................................................. 220
iv
Server ....................................... 126
Interface ..................................................... 190

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents