Installing MySQL Community Server 5.1 - Fedora
Installing MySQL Community Server 5.1 - Fedora
Objective
Pre-requisites
Assumptions
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
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 –
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
7. After some time and a few messages, the installation completes. Any errors encountered during
installation will be displayed here.
rpm –i client.rpm
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.