一、问题描述
linux下安装64位MySQL_5.6.25中,从windows上传文件至linux系统正常,解压正常,
安装过程中出现以下安装包冲突问题问题:
file /usr/bin/msql2mysql from install of MySQL-client-5.6.25-1.el6.x86_64 conflicts with file from package mariadb-1:5.5.65-1.el7.x86_64
file /usr/bin/mysql from install of MySQL-client-5.6.25-1.el6.x86_64 conflicts with file from package mariadb-1:5.5.65-1.el7.x86_64
file /usr/bin/mysql_find_rows from install of MySQL-client-5.6.25-1.el6.x86_64 conflicts with file from package mariadb-1:5.5.65-1.el7.x86_64
file /usr/bin/mysql_waitpid from install of MySQL-client-5.6.25-1.el6.x86_64 conflicts with file from package mariadb-1:5.5.65-1.el7.x86_64
file /usr/bin/mysqlaccess from install of MySQL-client-5.6.25-1.el6.x86_64 conflicts with file from package mariadb-1:5.5.65-1.el7.x86_64
file /usr/bin/mysqladmin from install of MySQL-client-5.6.25-1.el6.x86_64 conflicts with file from package mariadb-1:5.5.65-1.el7.x86_64
file /usr/bin/mysqlbinlog from install of MySQL-client-5.6.25-1.el6.x86_64 conflicts with file from package mariadb-1:5.5.65-1.el7.x86_64
file /usr/bin/mysqlcheck from install of MySQL-client-5.6.25-1.el6.x86_64 conflicts with file from package mariadb-1:5.5.65-1.el7.x86_64
file /usr/bin/mysqldump from install of MySQL-client-5.6.25-1.el6.x86_64 conflicts with file from package mariadb-1:5.5.65-1.el7.x86_64
file /usr/bin/mysqlimport from install of MySQL-client-5.6.25-1.el6.x86_64 conflicts with file from package mariadb-1:5.5.65-1.el7.x86_64
file /usr/bin/mysqlshow from install of MySQL-client-5.6.25-1.el6.x86_64 conflicts with file from package mariadb-1:5.5.65-1.el7.x86_64
file /usr/bin/mysqlslap from install of MySQL-client-5.6.25-1.el6.x86_64 conflicts with file from package mariadb-1:5.5.65-1.el7.x86_64
file /usr/share/man/man1/mysql.1.gz from install of MySQL-client-5.6.25-1.el6.x86_64 conflicts with file from package mariadb-1:5.5.65-1.el7.x86_64
file /usr/share/man/man1/mysql_find_rows.1.gz from install of MySQL-client-5.6.25-1.el6.x86_64 conflicts with file from package mariadb-1:5.5.65-1.el7.x86_64
file /usr/share/man/man1/mysql_waitpid.1.gz from install of MySQL-client-5.6.25-1.el6.x86_64 conflicts with file from package mariadb-1:5.5.65-1.el7.x86_64
file /usr/share/man/man1/mysqlaccess.1.gz from install of MySQL-client-5.6.25-1.el6.x86_64 conflicts with file from package mariadb-1:5.5.65-1.el7.x86_64
file /usr/share/man/man1/mysqladmin.1.gz from install of MySQL-client-5.6.25-1.el6.x86_64 conflicts with file from package mariadb-1:5.5.65-1.el7.x86_64
file /usr/share/man/man1/mysqldump.1.gz from install of MySQL-client-5.6.25-1.el6.x86_64 conflicts with file from package mariadb-1:5.5.65-1.el7.x86_64
file /usr/share/man/man1/mysqlshow.1.gz from install of MySQL-client-5.6.25-1.el6.x86_64 conflicts with file from package mariadb-1:5.5.65-1.el7.x86_64
file /usr/share/man/man1/mysqlslap.1.gz from install of MySQL-client-5.6.25-1.el6.x86_64 conflicts with file from package mariadb-1:5.5.65-1.el7.x86_64
file /usr/share/man/man1/msql2mysql.1.gz from install of MySQL-client-5.6.25-1.el6.x86_64 conflicts with file from package mariadb-server-1:5.5.65-1.el7.x86_64
file /usr/share/man/man1/mysqlbinlog.1.gz from install of MySQL-client-5.6.25-1.el6.x86_64 conflicts with file from package mariadb-server-1:5.5.65-1.el7.x86_64
file /usr/share/man/man1/mysqlcheck.1.gz from install of MySQL-client-5.6.25-1.el6.x86_64 conflicts with file from package mariadb-server-1:5.5.65-1.el7.x86_64
file /usr/share/man/man1/mysqlimport.1.gz from install of MySQL-client-5.6.25-1.el6.x86_64 conflicts with file from package mariadb-server-1:5.5.65-1.el7.x86_64
二、问题解决
卸载所描述的mariadb-server-1:5.5.65-1.el7.x86_64文件即可正常安装
命令:
rpm -qa | grep mariadb
rpm -e --nodeps mariadb-server-5.5.65-1.el7.x86_64
rpm -e --nodeps mariadb-5.5.65-1.el7.x86_64
rpm -e --nodeps mariadb-libs-5.5.65-1.el7.x86_64
至此,问题解决!
欢迎关注博主,欢迎互粉,一起学习!
感谢您的阅读,不足之处欢迎指正!