-1

I'm trying to install MySQL in my CentOS 6.4 (X86_64) with the command:

"yum install mysql mysql-server"

And I'm having problems with the installation, the error presented is the following:

Check the error log in the following link http://pastie.org/10022423

Any Idea why this error ? thanks for you helps!

2 Answers2

2

The problem is you already have a version of some MySQL packages installed that are from a different distribution/vendor than CentOS.

Since different people created the packages using different names and standards, yum does not know how to fix this situation.

You have libmysqlclient16-5.1.69-1.w6.x86_64 installed already providing the client libraries, but the CentOS package is mysql-libs. This package appears to be provided by "webtatic": https://webtatic.com/packages/mysql55/ http://rpm.pbone.net/index.php3/stat/4/idpl/21966562/dir//com/libmysqlclient16-5.1.69-1.w6.x86_64.rpm.html

Likely you need to consider removing the libmysqlclient package and installing mysql-libs in it's place. That will probably remove some items because of dependencies, you might be able to get away with manually removing it with the rpm --nodeps -e, but it may also be the packages cannot have their dependency satisfied by mysql-libs so slightly risk move if you don't fully check everything first. This often works, though.

As an alternative looks like you can install the mysql server package from webtatic as well, based on their instructions here, that might be a less complex alternative if you are happy to continue relying on their repository: https://webtatic.com/packages/mysql55/

Trent Lloyd
  • 1,832
  • 1
  • 15
  • 13
1

As far that I know, that error will shows up when you attempt to install packages that already have been installed before. So, you probably should reinstall your mysql. Source : https://www.centos.org/docs/5/html/5.1/Deployment_Guide/s3-rpm-conflicting-files.html