file /usr/share/mysql/charsets/README from install of MySQL-server-5.6.30-1.el6.x86_64 conflicts wit

file /usr/share/mysql/charsets/swe7.xml from install of MySQL-server-5.6.30-1.el6.x86_64 conflicts with file from package mariadb-libs-1:5.5.68-1.el7.x86_64
此报错是说mysql安装包与mariadb包冲突,那么那么只要删除mariadb包即可。

1.查询冲突的内容

rpm -qa|grep -i mariadb

在这里插入图片描述

2.删除冲突的包

yum remove mariadb-libs-5.5.60-1.el7_5.x86_64
在这里插入图片描述

问题:
安装MySQL时报错:FATAL ERROR: please install the following Perl modules before executing /usr/bin/mysql_install_db:
Data::Dumper
原因:
缺少依赖包autoconf
解决办法:
通过yum安装autoconf
yum -y install autoconf
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_46199553/article/details/120418442