When installing MySQL:
Error phenomena:
[[email protected] opt]# rpm-ivh mysql-server-5.5.32-1.el6.x86_64.rpm Preparing ... ################## ######################### [100%]file/usr/share/mysql/charsets/index.xml from Install of mysql-server-5.5.32-1.el6.x86_64 conflicts with file from the package Mysql-libs-5.1.61-4.el6.x86_64file/usr/share/mysql /charsets/armscii8.xml from install of mysql-server-5.5.32-1.el6.x86_64 conflicts with file from package Mysql-libs-5.1.61-4.el6.x86_64file/usr/share/mysql/charsets/ascii.xml from Install of mysql-server-5.5.32-1.el6.x86_64 conflicts with file from the package Mysql-libs-5.1.61-4.el6.x86_64file/usr/share/mysql /charsets/cp1250.xml from install of mysql-server-5.5.32-1.el6.x86_64 conflicts with file from package Mysql-libs-5.1.61-4.el6.x86_64file/usr/share/mysql/charsets/cp1256.xml from Install of mysql-server-5.5.32-1.el6.x86_64 conflicts with file from the package Mysql-libs-5.1.61-4.el6.x86_64file/usr/share/mysql /charsets/cp1257.xml from Install of mysql-server-5.5.32-1.el6.x86_64 conflicts with file from the package mysql-libs-5.1.61-4.el6.x86_64file/usr/share/mysql/charsets/ Cp850.xml from install of mysql-server-5.5.32-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_ 64file/usr/share/mysql/charsets/cp852.xml from install of mysql-server-5.5.32-1.el6.x86_64 conflicts with file from Package mysql-libs-5.1.61-4.el6.x86_64
Cause of Error:
The cause is caused by a packet conflict!
Workaround:
Remove the conflicting libs package first. To install again.
Yum-y Remove mysql-libs-5.1.61*
-y means not to ask if the remove unload is complete,
and run the command again.
RPM-IVH mysql-server-5.5.32-1.el6.x86_64.rpm
The installation of MySQL will be successful. For example, the following:
[Email protected] opt]# RPM-IVH mysql-server-5.5.32-1.el6.x86_64.rpmpreparing ... ########################################### [100%] 1:mysql-server ##################################### ###### [100%]please REMEMBER to SET A PASSWORD for the MySQL root USER! To does, start the server, then issue the following commands:/usr/bin/mysqladmin-u root password ' new-password '/usr/bin/ Mysqladmin-u root-h localhost.localdomain password ' new-password ' Alternatively you can run:/usr/bin/mysql_secure_ Installationwhich would also give you the option of removing the testdatabases and anonymous user created by default.
Installing the MySQL error conflicts with file from the package mysql-libs-* "workaround