title: how to uninstall maridb and install remysql in centos 7 , linux?
body: <p>I have installed maria db in my centos 7 , But now after uninstalling the maridb with:</p>
  
  <pre><code>yum remove MariaDB-server MariaDB-client 
  </code></pre>
  
  <p>when I install the  mysql-devel or mysql or mysql-server it always install maridb. 
   How can I move back to mysql?<br>
  I have also removed the mariadb respository from the list of repositories at:/etc/yum.repos.d <br>
  On:</p>
  
  <pre><code>yum install mysql mysql-server mysql-devel
  </code></pre>
  
  <p>Error log on the cmd:</p>
  
  <pre><code>[root@ONS88 ~]# yum install mysql mysql-server mysql-devel 
  Loaded plugins: fastestmirror, langpacks
  Loading mirror speeds from cached hostfile
   * base: centos.s.uw.edu
   * epel: fedora.mirrors.pair.com
   * extras: centos.s.uw.edu
   * ius: mirror.its.dal.ca
   * nux-dextop: mirror.li.nux.ro
   * updates: centos.s.uw.edu
  Resolving Dependencies
  --&gt; Running transaction check
  ---&gt; Package mariadb101u.x86_64 1:10.1.29-1.ius.centos7 will be installed
  --&gt; Processing Dependency: mariadb101u-common(x86-64) = 1:10.1.29-1.ius.centos7 for package: 1:mariadb101u-10.1.29-1.ius.centos7.x86_64
  --&gt; Processing Dependency: mariadb101u-libs(x86-64) = 1:10.1.29-1.ius.centos7 for package: 1:mariadb101u-10.1.29-1.ius.centos7.x86_64
  ---&gt; Package mariadb101u-devel.x86_64 1:10.1.29-1.ius.centos7 will be installed
  ---&gt; Package mysql-community-server.x86_64 0:5.6.38-2.el7 will be installed
  --&gt; Processing Dependency: mysql-community-common(x86-64) = 5.6.38-2.el7 for package: mysql-community-server-5.6.38-2.el7.x86_64
  --&gt; Processing Dependency: mysql-community-client(x86-64) &gt;= 5.6.10 for package: mysql-community-server-5.6.38-2.el7.x86_64
  --&gt; Running transaction check
  ---&gt; Package mariadb101u-common.x86_64 1:10.1.29-1.ius.centos7 will be installed
  --&gt; Processing Dependency: mariadb101u-config(x86-64) = 1:10.1.29-1.ius.centos7 for package: 1:mariadb101u-common-10.1.29-1.ius.centos7.x86_64
  ---&gt; Package mariadb101u-libs.x86_64 1:10.1.29-1.ius.centos7 will be installed
  ---&gt; Package mysql-community-client.x86_64 0:5.6.38-2.el7 will be installed
  --&gt; Processing Dependency: mysql-community-libs(x86-64) &gt;= 5.6.10 for package: mysql-community-client-5.6.38-2.el7.x86_64
  ---&gt; Package mysql-community-common.x86_64 0:5.6.38-2.el7 will be installed
  --&gt; Running transaction check
  ---&gt; Package mariadb101u-config.x86_64 1:10.1.29-1.ius.centos7 will be installed
  ---&gt; Package mysql-community-libs.x86_64 0:5.6.38-2.el7 will be installed
  --&gt; Processing Conflict: 1:mariadb101u-libs-10.1.29-1.ius.centos7.x86_64 conflicts mysql-community-libs
  --&gt; Processing Conflict: 1:mariadb101u-10.1.29-1.ius.centos7.x86_64 conflicts mysql-community-client
  --&gt; Processing Conflict: 1:mariadb101u-config-10.1.29-1.ius.centos7.x86_64 conflicts mysql-community-server
  --&gt; Processing Conflict: 1:mariadb101u-common-10.1.29-1.ius.centos7.x86_64 conflicts mysql-community-common
  --&gt; Finished Dependency Resolution
  Error: mariadb101u-libs conflicts with mysql-community-libs-5.6.38-2.el7.x86_64
  Error: mariadb101u conflicts with mysql-community-client-5.6.38-2.el7.x86_64
  Error: mariadb101u-config conflicts with mysql-community-server-5.6.38-2.el7.x86_64
  Error: mariadb101u-common conflicts with mysql-community-common-5.6.38-2.el7.x86_64
   You could try using --skip-broken to work around the problem
  ** Found 115 pre-existing rpmdb problem(s), 'yum check' output follows:
  ModemManager-1.6.0-2.el7.x86_64 is a duplicate with ModemManager-1.1.0-8.git20130913.el7.x86_64
  ModemManager-glib-1.6.0-2.el7.x86_64 is a duplicate with ModemManager-glib-1.1.0-8.git20130913.el7.x86_64
  adcli-0.8.1-3.el7.x86_64 is a duplicate with adcli-0.7.5-4.el7.x86_64
  alsa-tools-firmware-1.1.0-1.el7.x86_64 is a duplicate with alsa-tools-firmware-1.0.28-2.el7.x86_64
  at-3.1.13-22.el7.x86_64 is a duplicate with at-3.1.13-20.el7.x86_64
  avahi-0.6.31-17.el7.x86_64 is a duplicate with avahi-0.6.31-15.el7.x86_64
  avahi-autoipd-0.6.31-15.el7.x86_64 has installed conflicts avahi &gt; ('0', '0.6.31', '15.el7'): avahi-0.6.31-17.el7.x86_64
  avahi-autoipd-0.6.31-17.el7.x86_64 has installed conflicts avahi &lt; ('0', '0.6.31', '17.el7'): avahi-0.6.31-15.el7.x86_64
  </code></pre>