1,138
个编辑
更改
小
因CentOS已经使用MariaDB替代了MySQL,如直接输入“yum install mysql-server”则安装MariaDB。
备注:本例中以minimal安装CentOS为例,如以其他方式安装或者已经安装MariaDB则建议首先卸载MariaDB,以防冲突。
== 下载RPM ==
[[File:CentOS7MySQL15.PNG]]
== 错误排除 == 16.在使用YUM安装时提示“Warning: RPMDB altered outside of yum.”。[[File:RPMDBaltered1.png]] 17.故障原因为直接使用rpm安装时有可能导致此问题。[[File:RPMDBaltered2.png]] 18.输入“yum history sync”同步即可排除此故障。[[File:RPMDBaltered4.png]]