Java Tutorial - Java Script : Installing MySQL on Linux

Java Tutorial - Java Script :

Installing MySQL on Linux


MySQL already comes as a standard installation option on many Linux distributions. The easiest way to install MySQL on Linux is to use the standard RPM-based distribution. The RPM files that you will need are:

MySQL-server-VERSION.i386.rpm. This is the MySQL server.

MySQL-max-VERSION.i386.rpm. Extensions to support UDF and other features.

MySQL-client-VERSION.i386.rpm. The standard MySQL client programs.

MySQL-devel-VERSION.i386.rpm. Libraries and include files needed if you want to compile other MySQL clients, such as the Perl modules.

MySQL-shared-VERSION.i386.rpm. This package contains the shared libraries (libmysqlclient.so*), which certain languages and applications need to dynamically load and use MySQL.

These files can be downloaded from http://www.mysql.com or one of its
mirror sites. After these files have been downloaded, MySQL can be installed
by first logging in as root and then running the following commands:

rpm -i MySQL-server-VERSION.i386.rpm
rpm -i MySQL-max-VERSION.i386.rpm
rpm -i MySQL-client-VERSION.i386.rpm
rpm -i MySQL-devel-VERSION.i386.rpm
rpm -i MySQL-shared-VERSION.i386.rpm

The installation process configures MySQL and starts it as a daemon automatically.