Install MySQL Error "conflicts with file from the package mysql-libs-*" workaround

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.