Installing MySQL on Linux/Unix

The process of installing MySQL on Linux/Unix is straightforward, whether you use RPMs or install the binaries. For a minimal installation from RPMs, you will need two files:

  • MySQL-server-VERSION.i386.rpm— The MySQL server

  • MySQL-client-VERSION.i386.rpm— The standard MySQL client libraries

To perform a minimal installation from RPMs, type the following at your prompt:

						#> rpm -i MySQL-server-VERSION.i386.rpm MySQL-client-VERSION.i386.rpm
					

Replace VERSION in the filename with the actual version you downloaded. For example, the current MySQL 4.0 server RPM is called MySQL-server-4.0.15-0.i386.rpm, and the client libraries ...

Get Sams Teach Yourself PHP, MySQL® and Apache All in One 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.