Table of Contents
This chapter describes how to obtain and install MySQL:
Determine whether your platform is supported. Please note that not all supported systems are equally good for running MySQL on them. On some it is much more robust and efficient than others. See Which OS for details.
Choose a distribution to install. Several versions of MySQL are available, and most are available in serveral distribution formats. You can choose from pre-packaged distributions containing binary (precompiled) programs or source code. When in doubt, use a binary distribution. We also provide public access to our current source tree, for those who want to see our most recent developments and help us test new code. To determine which version and type of distribution you should use, see Which version.
Download the distribution that you want to install. For a list of sites from which you can obtain MySQL, see Getting MySQL. You can verify the integrity of the distribution using the instructions in Verifying Package Integrity.
Install the distribution. For binary distributions, use the instructions in in Installing binary. For source distributions, use the instructions in Installing source. Additional installation procedures include the following:
For post-installation procedures, see Post-installation. These procedures apply whether you install MySQL using a binary or source distribution.
If you plan to upgrade an existing version of MySQL to a newer version rather than installing MySQL for the first time, see Upgrade for information about upgrade procedures and about issues that you should consider before upgrading.
If you want to run the MySQL benchmark scripts, Perl support for MySQL must be available. See Perl support.
The last part of the chapter provides information on system-specific problems you may run into.