Solve the problem of conflicts with file from package prompt when installing mysql in CentOS *. rpm

Source: Internet
Author: User

Solve the problem of conflicts with file from package prompt when installing mysql in CentOS *. rpm

Install MySQL5.6 in CentOS 6.5

Decompress file: tar xvf MySQL-5.6.19-1.linux_glibc2.5.x86_64.rpm-bundle.tar

Release the following files:

MySQL-embedded-5.6.19-1.linux_glibc2.5.x86_64.rpm
MySQL-devel-5.6.19-1.linux_glibc2.5.x86_64.rpm
MySQL-shared-compat-5.6.19-1.linux_glibc2.5.x86_64.rpm
MySQL-shared-5.6.19-1.linux_glibc2.5.x86_64.rpm
MySQL-server-5.6.19-1.linux_glibc2.5.x86_64.rpm
MySQL-client-5.6.19-1.linux_glibc2.5.x86_64.rpm
MySQL-test-5.6.19-1.linux_glibc2.5.x86_64.rpm

For example:

You can use the lss command to check that the file name is red, indicating that the file has a high access permission. We use the command "chmod 777./*" to lower the permission,

777 should be the lowest permission, which is equivalent to the Windows everyone readable and executable, that is, full control.

For details, see the differences between chmod 755 and chmod 4755.

Here we only use:

MySQL-server-5.6.19-1.linux_glibc2.5.x86_64.rpm
MySQL-client-5.6.19-1.linux_glibc2.5.x86_64.rpm

Run the following command to install the SDK:

Rpm-ivh MySQL-server-5.6.19-1.linux_glibc2.5.x86_64.rpm

The error message is as follows:

[Plain] view plaincopy
  1. Preparing... ######################################## ### [100%]
  2. File/usr/share/mysql/charsets/READMEfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  3. File/usr/share/mysql/czech/errmsg. sysfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  4. File/usr/share/mysql/danish/errmsg. sysfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  5. File/usr/share/mysql/dutch/errmsg. sysfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  6. File/usr/share/mysql/english/errmsg. sysfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  7. File/usr/share/mysql/estonian/errmsg. sysfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  8. File/usr/share/mysql/french/errmsg. sysfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  9. File/usr/share/mysql/german/errmsg. sysfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  10. File/usr/share/mysql/greek/errmsg. sysfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  11. File/usr/share/mysql/hungarian/errmsg. sysfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  12. File/usr/share/mysql/italian/errmsg. sysfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  13. File/usr/share/mysql/japanese/errmsg. sysfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  14. File/usr/share/mysql/korean/errmsg. sysfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  15. File/usr/share/mysql/norwegian-ny/errmsg. sysfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  16. File/usr/share/mysql/norwegian/errmsg. sysfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  17. File/usr/share/mysql/polish/errmsg. sysfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  18. File/usr/share/mysql/portuguese/errmsg. sysfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  19. File/usr/share/mysql/romanian/errmsg. sysfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  20. File/usr/share/mysql/russian/errmsg. sysfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  21. File/usr/share/mysql/serbian/errmsg. sysfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  22. File/usr/share/mysql/slovak/errmsg. sysfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  23. File/usr/share/mysql/spanish/errmsg. sysfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  24. File/usr/share/mysql/swedish/errmsg. sysfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  25. File/usr/share/mysql/ukrainian/errmsg. sysfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  26. File/usr/share/mysql/charsets/Index. xmlfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  27. File/usr/share/mysql/charsets/armscii8.xmlfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  28. File/usr/share/mysql/charsets/ascii. xmlfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  29. File/usr/share/mysql/charsets/cp1250.xmlfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  30. File/usr/share/mysql/charsets/cp1251.xmlfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  31. File/usr/share/mysql/charsets/cp1256.xmlfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  32. File/usr/share/mysql/charsets/cp1257.xmlfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  33. File/usr/share/mysql/charsets/cp850.xmlfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  34. File/usr/share/mysql/charsets/cp852.xmlfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  35. File/usr/share/mysql/charsets/cp866.xmlfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  36. File/usr/share/mysql/charsets/dec8.xmlfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  37. File/usr/share/mysql/charsets/geostd8.xmlfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  38. File/usr/share/mysql/charsets/greek. xmlfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  39. File/usr/share/mysql/charsets/hebrew. xmlfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  40. File/usr/share/mysql/charsets/hp8.xmlfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  41. File/usr/share/mysql/charsets/keybcs2.xmlfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  42. File/usr/share/mysql/charsets/koi8r. xmlfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  43. File/usr/share/mysql/charsets/koi8u. xmlfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  44. File/usr/share/mysql/charsets/latin1.xmlfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  45. File/usr/share/mysql/charsets/latin2.xmlfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  46. File/usr/share/mysql/charsets/latin5.xmlfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  47. File/usr/share/mysql/charsets/latin7.xmlfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  48. File/usr/share/mysql/charsets/Mac. xmlfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  49. File/usr/share/mysql/charsets/macroman. xmlfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
  50. File/usr/share/mysql/charsets/swe7.xmlfrominstallofMySQL-server-5.6.19-1.linux_glibc2.5.x86_64conflictswithfilefrompackagemysql-libs-5.1.71-1.el6.x86_64
See "conflicts", there is a conflict, the file "/usr/share/mysql/charsets/*" requires a MySQL-server-5.6.19-1.linux_glibc2.5.x86_64 version, and the system already has a mysql-libs-5.1.71-1.el6.x86_64 version!

Solution:

Run the following command to delete the mysql-libs-5.1.71-1.el6.x86_64:

Yum-y remove mysql-libs-5.1.71 *

Run the following command to install MySQL:

Rpm-ivh MySQL-server-5.6.19-1.linux_glibc2.5.x86_64.rpm

Everything is OK. The installation is successful.

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.