Ad Widget

Collapse

MariaDB Mysql conflict

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • salavie
    Junior Member
    • Oct 2020
    • 29

    #1

    MariaDB Mysql conflict

    hello everyone
    I want to install proxy using MySQL instead of Mariadb
    Centos 7.6 mysql 5.7
    first
    rpm -qa | grep -i maria
    yum remove -y mariadb*

    and yum install -y mysql-community-server
    installation is complete

    and yum install zabbix-proxy-mysql zabbix-sql-scripts zabbix-selinux-policy

    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    Resolving Dependencies
    --> Running transaction check
    ---> Package zabbix-proxy-mysql.x86_64 0:6.0.21-release1.el7 will be installed
    --> Processing Dependency: libmysqlclient.so.18(libmysqlclient_18)(64bit) for package: zabbix-proxy-mysql-6.0.21-release1.el7.x86_64
    --> Processing Dependency: libmysqlclient.so.18()(64bit) for package: zabbix-proxy-mysql-6.0.21-release1.el7.x86_64
    ---> Package zabbix-selinux-policy.x86_64 0:6.0.21-release1.el7 will be installed
    ---> Package zabbix-sql-scripts.noarch 0:6.0.21-release1.el7 will be installed
    --> Running transaction check
    ---> Package MariaDB-shared.x86_64 0:10.1.34-1.el7.centos will be installed
    --> Processing Dependency: MariaDB-common for package: MariaDB-shared-10.1.34-1.el7.centos.x86_64
    --> Running transaction check
    ---> Package MariaDB-common.x86_64 0:10.1.34-1.el7.centos will be installed
    --> Finished Dependency Resolution

    Dependencies Resolved

    ================================================== ================================================== ================================================== ================================================== ================================================== ================================================== ================================================== ==
    Package Arch Version Repository Size
    ================================================== ================================================== ================================================== ================================================== ================================================== ================================================== ================================================== ==
    Installing:
    zabbix-proxy-mysql x86_64 6.0.21-release1.el7 net-yum 1.3 M
    zabbix-selinux-policy x86_64 6.0.21-release1.el7 net-yum 298 k
    zabbix-sql-scripts noarch 6.0.21-release1.el7 net-yum 327 k
    Installing for dependencies:
    MariaDB-common x86_64 10.1.34-1.el7.centos net-yum 123 k
    MariaDB-shared x86_64 10.1.34-1.el7.centos net-yum 1.3 M

    Transaction Summary
    ================================================== ================================================== ================================================== ================================================== ================================================== ================================================== ================================================== ==
    Install 3 Packages (+2 Dependent packages)

    Total size: 3.3 M
    Total download size: 625 k
    Installed size: 15 M
    Is this ok [y/d/N]: y
    Downloading packages:
    (1/2): zabbix-selinux-policy-6.0.21-release1.el7.x86_64.rpm | 298 kB 00:00:02
    (2/2): zabbix-sql-scripts-6.0.21-release1.el7.noarch.rpm | 327 kB 00:00:02
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Total 239 kB/s | 625 kB 00:00:02
    Running transaction check
    Running transaction test


    Transaction check error:
    file /usr/share/mysql/charsets/Index.xml from install of MariaDB-common-10.1.34-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.38-1.el7.x86_64
    file /usr/share/mysql/charsets/armscii8.xml from install of MariaDB-common-10.1.34-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.38-1.el7.x86_64
    file /usr/share/mysql/charsets/ascii.xml from install of MariaDB-common-10.1.34-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.38-1.el7.x86_64
    file /usr/share/mysql/charsets/cp1250.xml from install of MariaDB-common-10.1.34-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.38-1.el7.x86_64
    file /usr/share/mysql/charsets/cp1251.xml from install of MariaDB-common-10.1.34-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.38-1.el7.x86_64
    file /usr/share/mysql/charsets/cp1256.xml from install of MariaDB-common-10.1.34-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.38-1.el7.x86_64
    file /usr/share/mysql/charsets/cp1257.xml from install of MariaDB-common-10.1.34-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.38-1.el7.x86_64
    file /usr/share/mysql/charsets/cp850.xml from install of MariaDB-common-10.1.34-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.38-1.el7.x86_64
    file /usr/share/mysql/charsets/cp852.xml from install of MariaDB-common-10.1.34-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.38-1.el7.x86_64
    file /usr/share/mysql/charsets/cp866.xml from install of MariaDB-common-10.1.34-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.38-1.el7.x86_64
    file /usr/share/mysql/charsets/dec8.xml from install of MariaDB-common-10.1.34-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.38-1.el7.x86_64
    file /usr/share/mysql/charsets/geostd8.xml from install of MariaDB-common-10.1.34-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.38-1.el7.x86_64
    file /usr/share/mysql/charsets/greek.xml from install of MariaDB-common-10.1.34-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.38-1.el7.x86_64
    file /usr/share/mysql/charsets/hebrew.xml from install of MariaDB-common-10.1.34-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.38-1.el7.x86_64
    file /usr/share/mysql/charsets/hp8.xml from install of MariaDB-common-10.1.34-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.38-1.el7.x86_64
    file /usr/share/mysql/charsets/keybcs2.xml from install of MariaDB-common-10.1.34-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.38-1.el7.x86_64
    file /usr/share/mysql/charsets/koi8r.xml from install of MariaDB-common-10.1.34-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.38-1.el7.x86_64
    file /usr/share/mysql/charsets/koi8u.xml from install of MariaDB-common-10.1.34-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.38-1.el7.x86_64
    file /usr/share/mysql/charsets/latin1.xml from install of MariaDB-common-10.1.34-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.38-1.el7.x86_64
    file /usr/share/mysql/charsets/latin2.xml from install of MariaDB-common-10.1.34-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.38-1.el7.x86_64
    file /usr/share/mysql/charsets/latin5.xml from install of MariaDB-common-10.1.34-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.38-1.el7.x86_64
    file /usr/share/mysql/charsets/latin7.xml from install of MariaDB-common-10.1.34-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.38-1.el7.x86_64
    file /usr/share/mysql/charsets/macce.xml from install of MariaDB-common-10.1.34-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.38-1.el7.x86_64
    file /usr/share/mysql/charsets/macroman.xml from install of MariaDB-common-10.1.34-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.38-1.el7.x86_64
    file /usr/share/mysql/charsets/swe7.xml from install of MariaDB-common-10.1.34-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.38-1.el7.x86_64
    file /etc/my.cnf from install of MariaDB-common-10.1.34-1.el7.centos.x86_64 conflicts with file from package mysql-community-server-5.7.38-1.el7.x86_64

    Error Summary
    -------------


    How to operate to meet my needs? install proxy using MySQL not Mariadb
  • salavie
    Junior Member
    • Oct 2020
    • 29

    #2
    If I point the yum source to my own yum repository, there is an issue with the installation dependency.

    If I point to the YUM at Alibaba Source, then there's no problem



    at Alibaba Source:Click image for larger version

Name:	image.png
Views:	280
Size:	46.5 KB
ID:	482448​my own yum:
    Click image for larger version

Name:	image.png
Views:	250
Size:	8.2 KB
ID:	482449​After installation, there is a conflict between installing MySQL and Mariadb

    At the same time as uninstalling mariadb, the proxy has also been uninstalled​

    What other software do I need to install for my YUM library?

    Comment

    Working...