Follow these steps to install MySQL on a Linux/UNIX server. You must be logged in as the root user to install MySQL.
If you are using a Linux system that supports RPM packages, such as Red Hat, SUSE, or Fedora, this is the easiest installation method to use. You simply download the appropriate packages and install them using the rpm utility.
The RPM distribution is split into the following packages. The filename prefix for each package is shown in parentheses.
Server (MySQL-server)— The MySQL database server. You must install this package.
Client programs (MySQL-client)— Contains the client programs for communicating with a MySQL server, including mysql and mysqladmin.
Libraries and header files ...