Chapter 2. MySQL Installation
This chapter describes how to obtain and install MySQL:
For a list of sites from which you can obtain MySQL, see Section 2.2.1.
To see which platforms are supported, see Section 2.2.2. 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 Section 2.2.2 for details.
Several versions of MySQL are available in both binary and source distributions. 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 Section 2.2.3. When in doubt, use the binary distribution.
Installation instructions for binary and source distributions are described in Section 2.2.7, and Section 2.3. Each set of instructions includes a section on system-specific problems you may run into.
For post-installation procedures, see Section 2.4. These procedures apply whether you install MySQL using a binary or source distribution.
Quick Standard Installation of MySQL
Installing MySQL on Linux
The recommended way to install MySQL on Linux is by using an RPM file. The MySQL RPMs are currently being built on a RedHat Version 6.2 system but should work on other versions of Linux that support rpm and use glibc.
If you have problems with an RPM file, for example, if you receive the error "Sorry, the host 'xxxx' could not be looked up“—see Section 2.6.1.1.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access