How to install Percona Server 5.5 on Centos 6.3
Add Percona repository to your yum repository list, like it’s written in http://www.percona.com/doc/percona-server/5.5/installation/yum_repo.html
Next try to install Percona Server
yum install Percona-Server-shared-55.x86_64 Percona-Server-server-55.x86_64 \ Percona-Server-client-55.x86_64 |
And probably you will get error:
Transaction Check Error: file /usr/share/mysql/czech/errmsg.sys from install of Percona-Server-server-55-5.5.27-rel29.0.315.rhel6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64 file /usr/share/mysql/danish/errmsg.sys from install of Percona-Server-server-55-5.5.27-rel29.0.315.rhel6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64 file /usr/share/mysql/dutch/errmsg.sys from install of Percona-Server-server-55-5.5.27-rel29.0.315.rhel6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64 file /usr/share/mysql/english/errmsg.sys from install of Percona-Server-server-55-5.5.27-rel29.0.315.rhel6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64 file /usr/share/mysql/estonian/errmsg.sys from install of Percona-Server-server-55-5.5.27-rel29.0.315.rhel6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64 file /usr/share/mysql/french/errmsg.sys from install of Percona-Server-server-55-5.5.27-rel29.0.315.rhel6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64 file /usr/share/mysql/german/errmsg.sys from install of Percona-Server-server-55-5.5.27-rel29.0.315.rhel6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64 file /usr/share/mysql/greek/errmsg.sys from install of Percona-Server-server-55-5.5.27-rel29.0.315.rhel6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64 file /usr/share/mysql/hungarian/errmsg.sys from install of Percona-Server-server-55-5.5.27-rel29.0.315.rhel6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64 file /usr/share/mysql/italian/errmsg.sys from install of Percona-Server-server-55-5.5.27-rel29.0.315.rhel6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64 file /usr/share/mysql/japanese/errmsg.sys from install of Percona-Server-server-55-5.5.27-rel29.0.315.rhel6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64 file /usr/share/mysql/korean/errmsg.sys from install of Percona-Server-server-55-5.5.27-rel29.0.315.rhel6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64 file /usr/share/mysql/norwegian-ny/errmsg.sys from install of Percona-Server-server-55-5.5.27-rel29.0.315.rhel6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64 file /usr/share/mysql/norwegian/errmsg.sys from install of Percona-Server-server-55-5.5.27-rel29.0.315.rhel6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64 file /usr/share/mysql/polish/errmsg.sys from install of Percona-Server-server-55-5.5.27-rel29.0.315.rhel6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64 file /usr/share/mysql/portuguese/errmsg.sys from install of Percona-Server-server-55-5.5.27-rel29.0.315.rhel6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64 file /usr/share/mysql/romanian/errmsg.sys from install of Percona-Server-server-55-5.5.27-rel29.0.315.rhel6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64 file /usr/share/mysql/russian/errmsg.sys from install of Percona-Server-server-55-5.5.27-rel29.0.315.rhel6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64 file /usr/share/mysql/serbian/errmsg.sys from install of Percona-Server-server-55-5.5.27-rel29.0.315.rhel6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64 file /usr/share/mysql/slovak/errmsg.sys from install of Percona-Server-server-55-5.5.27-rel29.0.315.rhel6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64 file /usr/share/mysql/spanish/errmsg.sys from install of Percona-Server-server-55-5.5.27-rel29.0.315.rhel6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64 file /usr/share/mysql/swedish/errmsg.sys from install of Percona-Server-server-55-5.5.27-rel29.0.315.rhel6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64 file /usr/share/mysql/ukrainian/errmsg.sys from install of Percona-Server-server-55-5.5.27-rel29.0.315.rhel6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
Percona Server is conflicting with mysql-libs, but if you will try to remove mysql-libs with
yum remove mysql-libs |
it wants to remove: cronie, cronie-anacron, crontabs, postfix.
But we do not want that… so we remove mysql-libs without dependences:
rpm --nodeps -e mysql-libs |
Then we will install Percona server.
yum install Percona-Server-shared-55.x86_64 Percona-Server-server-55.x86_64 \ Percona-Server-client-55.x86_64 |
Now, if you will try to start postfix you will get error:
/usr/sbin/postfix start /usr/sbin/postfix: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory |
I’m not sure if it is the best way, but you can solve this error by creating symlink:
ln -s /usr/lib64/libmysqlclient.so.18.0.0 /usr/lib64/libmysqlclient.so.16 |
Leave a Reply
You must be logged in to post a comment.