MariaDB和Mysql不能安装在同一台机器上吗?

MariaDB和Mysql不能安装在同一台机器上吗?

我必须安装 Mysql 作为 cloudera HUE 的元存储。

但在那台机器上,似乎 MariaDB 就在那台机器上。我用来yum安装

yum install mysql-community-server

我收到这个错误。

Error: Package: MySQL-python-1.2.3-11.el7.x86_64 (@centos)
      Requires: libmysqlclient.so.18(libmysqlclient_18)(64bit)
      Removing: 1:mariadb-libs-5.5.44-2.el7.centos.x86_64 (@centos)
          libmysqlclient.so.18(libmysqlclient_18)(64bit)
      Obsoleted By: mysql-community-libs-5.7.12-1.el6.x86_64 (mysql57-commu                                          nity)
          Not found
Error: Package: MySQL-python-1.2.3-11.el7.x86_64 (@centos)
      Requires: libmysqlclient.so.18()(64bit)
      Removing: 1:mariadb-libs-5.5.44-2.el7.centos.x86_64 (@centos)
          libmysqlclient.so.18()(64bit)
      Obsoleted By: mysql-community-libs-5.7.12-1.el6.x86_64 (mysql57-commu                                          nity)
         ~libmysqlclient.so.20()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

但我无法删除 mariadb-libs,因为 Cloudera 需要它。

有人请给一些建议。

谢谢。

相关内容