Error while installing MySQL on RedHat Linux I am new to RedHat Linux and am referring to this link for the installation :https://dev.mysql.com/doc/mysql-repo-excerpt/5.6/en/linux-installation-yum-repo.html I finished the first two steps and when I try doing Step 3, I get the following error:

Loaded plugins: refresh-packagekit, rhnplugin, security
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Resolving Dependencies
--&gt; Running transaction check
---&gt; Package mysql-community-server.x86_64 0:5.7.10-2.el6 will be installed
--&gt; Processing Dependency: mysql-community-common(x86-64) = 5.7.10-2.el6 for package: mysql-community-server-5.7.10-2.el6.x86_64
--&gt; Processing Dependency: mysql-community-client(x86-64) = 5.7.10-2.el6 for package: mysql-community-server-5.7.10-2.el6.x86_64
--&gt; Running transaction check
---&gt; Package mysql-community-client.x86_64 0:5.7.10-2.el6 will be installed
--&gt; Processing Dependency: mysql-community-libs(x86-64) = 5.7.10-2.el6 for package: mysql-community-client-5.7.10-2.el6.x86_64
---&gt; Package mysql-community-common.x86_64 0:5.7.10-2.el6 will be installed
--&gt; Running transaction check
---&gt; Package mysql-community-libs.x86_64 0:5.7.10-2.el6 will be obsoleting
---&gt; Package mysql-libs.x86_64 0:5.5.47-1.el6.remi will be obsoleted
--&gt; Processing Dependency: libmysqlclient.so.18()(64bit) for package: php-mysql-5.4.45-3.el6.remi.x86_64
--&gt; Processing Dependency: libmysqlclient.so.18(libmysqlclient_16)(64bit) for package: php-mysql-5.4.45-3.el6.remi.x86_64
--&gt; Processing Dependency: libmysqlclient.so.18(libmysqlclient_18)(64bit) for package: php-mysql-5.4.45-3.el6.remi.x86_64
--&gt; Finished Dependency Resolution
Error: Package: php-mysql-5.4.45-3.el6.remi.x86_64 (@remi)
           Requires: libmysqlclient.so.18()(64bit)
           Removing: mysql-libs-5.5.47-1.el6.remi.x86_64 (@remi)
               libmysqlclient.so.18()(64bit)
           Obsoleted By: mysql-community-libs-5.7.10-2.el6.x86_64 (mysql57-community)
               Not found
Error: Package: php-mysql-5.4.45-3.el6.remi.x86_64 (@remi)
           Requires: libmysqlclient.so.18(libmysqlclient_18)(64bit)
           Removing: mysql-libs-5.5.47-1.el6.remi.x86_64 (@remi)
               libmysqlclient.so.18(libmysqlclient_18)(64bit)
           Obsoleted By: mysql-community-libs-5.7.10-2.el6.x86_64 (mysql57-community)
               Not found
Error: Package: php-mysql-5.4.45-3.el6.remi.x86_64 (@remi)
           Requires: libmysqlclient.so.18(libmysqlclient_16)(64bit)
           Removing: mysql-libs-5.5.47-1.el6.remi.x86_64 (@remi)
               libmysqlclient.so.18(libmysqlclient_16)(64bit)
           Obsoleted By: mysql-community-libs-5.7.10-2.el6.x86_64 (mysql57-community)
               Not foundenter code here
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
I will recommend to move from php-mysql to php-mysqlnd (which provides the same set of extensions: mysql, mysqli and pdo_mysql), and thus, get rid of dependency on libmysqlclient:

# yum shell --enablerepo=remi
&gt; remove php-mysql
&gt; install php-mysqlnd
&gt; run


Notice: PHP 5.4 is now EOL, I also recommend to upgrade to 5.5 or 5.6. And 5.4 is also the last version to provides php-mysql, newer RPM versions only have php-mysqlnd.