Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So I uninstalled mysql 5.1 and then downloaded the client, devel and server rpm's for mysql 5.6

I did a rpm -ivh of each rpm but got this error:

error: Failed dependencies: is needed by MYSQL-server-5.6.6_m9-1.linux2.6.x86_64 is needed by MYSQL-server-5.6.6_m9-1.linux2.6.x86_64 is needed by MYSQL-server-5.6.6_m9-1.linux2.6.x86_64

I looked around but it does not seem this error is well documented. Do I need to install a dependency? If so which one and how?

My OS is CentOS Linux 6.2 on x86_64

share|improve this question
up vote 4 down vote accepted
# yum install libaio.x86_64 libaio-devel.x86_64

and try again.

But wait, why not install mysql-server via yum?

share|improve this answer
That fixed it, thanks! The reason I didn't use mysql-server is because it only installs the earliest stable release. I am trying to install MYSQL 5.6. – please delete me Sep 21 '12 at 10:04
As of this writing, default mysql server version is 5.1.73. – Kingz Sep 3 '14 at 23:08

Why not let yum install dependencies?

yum -y install
yum -y install
yum -y install

Note: My previous post was deleted. I revised my answer and hope the moderators will see the DIFFERENCE now.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.