Determine whether MySQL runs and is supported on your platform. Not all platforms are equally suitable for running MySQL, and not all platforms on which MySQL is known to run are officially supported by Oracle Corporation. For a list of platforms on which MySQL Community Server runs, see Section 2.4.2, “Operating Systems Supported by MySQL Community Server”.
Choose which distribution to install. Several versions of MySQL are available, and most are available in multiple distribution formats. You can choose from prepackaged distributions containing binary (precompiled) programs or source code. When in doubt, use a binary distribution. We also provide public access to our current source trees for those who want to see our most recent developments and to help us test new code. To determine which version and type of distribution you should use, see Section 2.4.3, “Choosing Which MySQL Distribution to Install”.
Download the distribution that you want to install.
For download instructions, see
Section 2.5, “How to Get MySQL”. To verify the integrity of
the distribution, use the instructions in
Section 2.6, “Verifying Package Integrity Using MD5 Checksums or
GnuPG
”.
Install the distribution. To install MySQL from a binary distribution, use the instructions in Section 2.8, “Standard MySQL Installation Using a Binary Distribution”. To install MySQL from a source distribution or from the current development source tree, use the instructions in Section 2.16, “MySQL Installation Using a Source Distribution”.
If you encounter installation difficulties, see Section 2.19, “Operating System-Specific Notes”, for information on solving problems for particular platforms.
Perform any necessary post-installation setup. After installing MySQL, read Section 2.17, “Post-Installation Setup and Testing”, which contains important information about making sure the MySQL server is working properly. It also describes how to secure the initial MySQL user accounts, which have no passwords until you assign passwords. The information in this section applies whether you install MySQL using a binary or source distribution.
Perform setup for running benchmarks (optional). If you want to use the MySQL benchmark scripts, Perl support for MySQL must be available. See Section 2.21, “Perl Installation Notes”, for more information.
The sections immediately following this one contain necessary information about choosing, downloading, and verifying your distribution. The instructions in later sections of the chapter describe how to install the distribution that you choose. For binary distributions, see the instructions in Section 2.8, “Standard MySQL Installation Using a Binary Distribution”. To build MySQL from source, use the instructions in Section 2.16, “MySQL Installation Using a Source Distribution”.
User Comments
Add your own comment.