Installing MySQL Community Server 5.
1 – Fedora 10 MySQL Clustering
Installing MySQL Community Server 5.1 – Fedora 10
Objective
To install MySQL Community Server 5.1 in Fedora 10.
Pre-requisites
1. Download MySQL Community Server 5.1 from
http://dev.mysql.com/downloads/mysql/5.1.html#downloads
Assumptions
1. There isn’t any version of MySQL installed on the system.
Procedure
1. Fedora 10 primarily uses the Red Hat package manager and the RPMs available for Red Hat
Enterprise Linux 5 should be compatible with Fedora 10.
2. There are several components of MySQL available for RHEL 5 at the above URL for download.
However the most important components are –
Server
Client
Shared Libraries ( Dynamic Client Libraries)
Libraries and Header files
3. The first components are generally enough for development purpose.
4. Start the installation by installing the server rpm with the following command –
rpm –i server.rpm
Installing MySQL Community Server 5.1 – Fedora 10 MySQL Clustering
5. If a huge list indicating conflicts with another package, namely mysql-libs appears, it is required
to uninstall mysql-libs before installing the latest version of mysql. Don’t worry, all the
applications dependent on mysql-libs will still work after installing the latest version of MySQL.
mysql-libs can be removed from the package manager with the following command –
rpm –e mysql-libs --nodeps
The nodeps orders the Red Hat package manager to remove the package mysql-libs even in the
presence of dependencies on it.
Installing MySQL Community Server 5.1 – Fedora 10 MySQL Clustering
6. Try installing server.rpm after removing mysql-libs.
Installing MySQL Community Server 5.1 – Fedora 10 MySQL Clustering
7. After some time and a few messages, the installation completes. Any errors encountered during
installation will be displayed here.
8. Now install the client rpm with the following command –
rpm –i client.rpm
Installing MySQL Community Server 5.1 – Fedora 10 MySQL Clustering
9. The client installation completes without any output.
Installing MySQL Community Server 5.1 – Fedora 10 MySQL Clustering
10. Next the shared libraries are installed using the following command –
rpm –i shared.rpm
11. Similar to the client rpm, the shared rpm installs without any report.
Installing MySQL Community Server 5.1 – Fedora 10 MySQL Clustering
12. Restart the terminal and type mysql at command line to start the MySQL client.
Installing MySQL Community Server 5.1 – Fedora 10 MySQL Clustering
NOTE – The above screen shots use the names “server.rpm, client.rpm and
shared.rpm” for the downloaded packages. However the names may differ and the
appropriate names should be used.