Binary (RPM) Distributions
The recommended way to install MySQL on an Intel Linux system is via RedHat Package Manager (RPM). Table 2-1 lists the files that comprise a full MySQL installation.
Filename |
Description |
MySQL-version.i386.rpm |
MySQL server software |
MySQL-client-version.i386.rpm |
MySQL client software |
MySQL-bench-version.i386.rpm |
MySQL tests and benchmarks; requires the Perl and msql-mysql RPMs |
MySQL-devel-version.i386.rpm |
Libraries and include files for compiling other MySQL clients |
MySQL-shared-version.i386.rpm |
MySQL client shared libraries |
The procedure for installing an RPM distribution is simple. First, obtain the RPMs you wish to install. At a minimum, you should install the server and client software. Second, use the rpm utility to install the packages.
For this example, we assume that all the RPM packages for Version 3.23.40 on an Intel Linux system will be installed. Also, assume the following RPM files have been downloaded to /tmp:
MySQL-3.23.40-1.i386.rpm
MySQL-client-3.23.40-1.i386.rpm
MySQL-devel-3.23.40-1.i386.rpm
MySQL-bench-3.23.40-1.i386.rpm
MySQL-shared-3.23.40-1.i386.rpm
Execute this sequence of commands to install them:
$rpm -i /tmp/MySQL-3.23.40-1.i386.rpm
$rpm -i /tmp/MySQL-client-3.23.40-1.i386.rpm
$rpm -i /tmp/MySQL-devel-3.23.40-1.i386.rpm
$rpm -i /tmp/MySQL-bench-3.23.40-1.i386.rpm
$rpm -i /tmp/MySQL-shared-3.23.40-1.i386.rpm
The RPM creates the appropriate ...
Get Managing & Using MySQL, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.