1.在安裝mysql的時候,有可能會出現跟已存在的包發生衝突,會報這樣的錯
file /etc/my.cnf from install of XXXX conflicts with file from package XXXXX
例:
2.解決方法:
yum -y remove XXXXX*
則刪除已衝突的應用,在刪除過程中,有可能出現:http://mirrors.skyshe.cn/centos/6.7/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.skyshe.cn'"Trying other mirror.這樣的錯誤,需要等待一會,就會刪除成功。
3.顯示圖下所示,則表明刪除成功,再重新安裝衝突的包即可。
4.卸載完成!