Solutions to incompatibility during MySQL installation on Linux:
[Root @ localhost ~] # Rpm-ivh MySQL-server-5.5.24-1.linux2.6.x86_64.rpm
Preparing... ######################################## ### [100%]
File/usr/share/mysql/charsets/README from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/charsets/Index. xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/charsets/armscii8.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/charsets/ascii. xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/charsets/cp1250.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/charsets/cp1251.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/charsets/cp1256.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/charsets/cp1257.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/charsets/cp850.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/charsets/cp852.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/charsets/cp866.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/charsets/dec8.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/charsets/geostd8.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/charsets/greek. xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/charsets/hebrew. xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/charsets/hp8.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/charsets/keybcs2.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/charsets/koi8r. xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/charsets/koi8u. xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/charsets/latin1.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/charsets/latin2.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/charsets/latin5.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/charsets/latin7.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/charsets/macce. xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/charsets/macroman. xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/charsets/swe7.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/czech/errmsg. sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/danish/errmsg. sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/dutch/errmsg. sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/english/errmsg. sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/estonian/errmsg. sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/french/errmsg. sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/german/errmsg. sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/greek/errmsg. sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/hungarian/errmsg. sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/italian/errmsg. sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/japanese/errmsg. sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/korean/errmsg. sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/norwegian-ny/errmsg. sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/norwegian/errmsg. sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/polish/errmsg. sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/portuguese/errmsg. sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/romanian/errmsg. sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/russian/errmsg. sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/serbian/errmsg. sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/slovak/errmsg. sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/spanish/errmsg. sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/swedish/errmsg. sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
File/usr/share/mysql/ukrainian/errmsg. sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
The reason is that the system has installed other versions of the mysql-libs package, resulting in incompatibility.
[Root @ localhost ~] # Yum list | grep mysql
Mysql-libs.x86_64 5.1.61-1. el6_2.1 @ updates
Apr-util-mysql.x86_64 1.3.9-3. el6_0.1 base
Bacula-director-mysql.x86_64 5.0.0-9. el6 base
Bacula-storage-mysql.x86_64 5.0.0-9. el6 base
Dovecot-mysql.x86_64. 0.9-2. el6_1.1 base
Freeradius-mysql.x86_64 2.1.10-5. el6 base
Libdbi-dbd-mysql.x86_64 0.8.3-5.1.el6 base
Mod_auth_mysql.x86_64. 0.0-11. el6_0.1 base
Mysql. x86_64 5.1.61-1. el6_2.1 updates
Mysql-bench.x86_64 5.1.61-1. el6_2.1 updates.
Mysql-connector-java.x86_64. 1.12-2. el6 base
Mysql-connector-odbc.x86_64 5.1.5r1144-7. el6 base
Mysql-devel.i686 5.1.61-1. el6_2.1 updates.
Mysql-devel.x86_64 5.1.61-1. el6_2.1 updates.
Mysql-embedded.i686 5.1.61-1. el6_2.1 updates.
Mysql-embedded.x86_64 5.1.61-1. el6_2.1 updates.
Mysql-embedded-devel.i686 5.1.61-1. el6_2.1 updates.
Mysql-embedded-devel.x86_64 5.1.61-1. el6_2.1 updates.
Mysql-libs.i686 5.1.61-1. el6_2.1 updates.
Mysql-server.x86_64 5.1.61-1. el6_2.1 updates.
Mysql-test.x86_64 5.1.61-1. el6_2.1 updates.
Php-mysql.x86_64 5.3.3-3. el6_2.8 updates.
Qt-mysql.i686 1:4. 6.2-20. el6 base
Qt-mysql.x86_64 1:4. 6.2-20. el6 base
Rsyslog-mysql.x86_64 4.6.2-12. el6 base
Delete mysql-libs
[Root @ localhost ~] # Yum remove mysql-libs
......
[Root @ localhost ~] # Rpm-ivh MySQL-server-5.5.24-1.linux2.6.x86_64.rpm
Preparing... ######################################## ### [100%]
1: mySQL-server ##################################### ###### [100%]