Linux/UNIX Installation

Follow these steps to install MySQL on a Linux/UNIX server. You must be logged in as the root user to install MySQL.

RPM Installation for Linux

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 ...

Get Sams Teach Yourself MySQL 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.