MySQL provides client installation packages for different OSs on its official website. MySQL 5.6 is used as an example. Download the MySQL 5.6 client installation package or other versions of the packages. The following procedure illustrates how to obtain the required installation package and install the MySQL client into a Red Hat Linux system.
Find the link to the required version on the download page. MySQL-client-5.6.31-1.el6.x86_64.rpm is used as an example in the following figure.
Sudo rpm -ivh MySQL-client-5.6.31-1.el6.x86_64.rpm
rpm -ivh --replacefiles MySQL-client-5.6.31-1.el6.x86_64.rpm
rpm -ivh --nodeps MySQL-client-5.6.31-1.el6.x86_64.rpm