MySQL installation can be done through many ways. These types are categories basis of installation packages through which we can install.
1.YUM installation of MySQL packages comes with Linux DVD
2.RPM packages installation from Linux DVD
3.RPM packages installation that downloaded from Oracle website.

YUM installation comes with Linux DVD

[root@srv110 ~]# yum install mysql*
.... Output truncated ...  
Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 mysql-bench             i386       5.0.45-7.el5     Server            513 k
 mysql-connector-odbc    i386       3.51.12-2.2      Server            141 k
 mysql-devel             i386       5.0.45-7.el5     Server            2.4 M
 mysql-test              i386       5.0.45-7.el5     Server            3.4 M
Installing for dependencies:
 e2fsprogs-devel         i386       1.39-15.el5      Server            569 k
 keyutils-libs-devel     i386       1.2-1.el5        Server             27 k
 krb5-devel              i386       1.6.1-25.el5     Server            1.9 M
 libselinux-devel        i386       1.33.4-5.el5     Server            131 k
 libsepol-devel          i386       1.15.2-1.el5     Server            189 k
 libtool-ltdl            i386       1.5.22-6.1       Server             37 k
 mysql                   i386       5.0.45-7.el5     Server            4.1 M
 mysql-server            i386       5.0.45-7.el5     Server            9.7 M
 openssl-devel           i386       0.9.8b-10.el5    Server            1.8 M
 perl-DBD-MySQL          i386       3.0007-1.fc6     Server            147 k
 perl-DBI                i386       1.52-1.fc6       Server            605 k
 zlib-devel              i386       1.2.3-3          Server            100 k

Transaction Summary
=============================================================================
Install     16 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 26 M
.... Output truncated ...  
Complete!

Above command could show different Redhat versions depending upon what version you using, what sort of package you install previous to this installation

RPM installation from Linux DVD

We can also install through RHEL  DVD or ISO (Mount them in temporary directory)and we can install MySQL packages one by one

It could long procedure and can take huge time and effort. i never suggest to do this unless you don’t yum available.

# rpm -ivh MySQL-packages

RPM installation of Oracle website MySQL packages

Download packages from Oracle’s MySQL Website
MySQL_download_page

http://dev.mysql.com/downloads/mysql/

Extract this tar ball

[root@srv110 ~]# tar -xvf MySQL-5.6.12-1.rhel5.i386.rpm-bundle.tar
MySQL-test-5.6.12-1.rhel5.i386.rpm
MySQL-shared-compat-5.6.12-1.rhel5.i386.rpm
MySQL-shared-5.6.12-1.rhel5.i386.rpm
MySQL-embedded-5.6.12-1.rhel5.i386.rpm
MySQL-server-5.6.12-1.rhel5.i386.rpm
MySQL-client-5.6.12-1.rhel5.i386.rpm
MySQL-devel-5.6.12-1.rhel5.i386.rpm

Install packages One by One

[root@srv110 ~]# rpm -ivh MySQL-client-5.6.12-1.rhel5.i386.rpm
Preparing...                ########################################### [100%]
   1:MySQL-client           ########################################### [100%]
[root@srv110 ~]# rpm -ivh MySQL-server-5.6.12-1.rhel5.i386.rpm
Preparing...                ########################################### [100%]
   1:MySQL-server           ########################################### [100%]
[root@srv110 ~]# rpm -ivh MySQL-shared-*
Preparing...                ########################################### [100%]
   1:MySQL-shared-compat    ########################################### [ 50%]
   2:MySQL-shared           ########################################### [100%]
[root@srv110 ~]# rpm -ivh MySQL-devel-5.6.12-1.rhel5.i386.rpm
Preparing...                ########################################### [100%]
   1:MySQL-devel            ########################################### [100%]
[root@srv110 ~]# rpm -ivh MySQL-embedded-5.6.12-1.rhel5.i386.rpm
Preparing...                ########################################### [100%]
   1:MySQL-embedded         ########################################### [100%]
[root@srv110 ~]# rpm -ivh MySQL-test-5.6.12-1.rhel5.i386.rpm
Preparing...                ########################################### [100%]
   1:MySQL-test             ########################################### [100%]

Related Posts

Reset MySQL root password

Reset MySQL root password

Fix: MySQL 5.7 not asking for password

Fix: MySQL 5.7 not asking for password

Install MongoDB 4.2 in CentOS6

Install MongoDB 4.2 in CentOS6

Install MongoDB 4.2 on CentOS7

Install MongoDB 4.2 on CentOS7

Install MongoDB 4.2 on CentOS8

Install MongoDB 4.2 on CentOS8