Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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:
libaio.so.1()(64bits) is needed by MYSQL-server-5.6.6_m9-1.linux2.6.x86_64
libaio.so.1(LIBAIO_0.1)(64bits) is needed by MYSQL-server-5.6.6_m9-1.linux2.6.x86_64
libaio.so.1(LIBAIO_0.4)(64bits) 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

2 Answers 2

up vote 3 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 http://dev.mysql.com/get/Downloads/MySQL-5.6/MySQL-shared-5.6.6_m9-1.linux2.6.x86_64.rpm
yum -y install http://dev.mysql.com/get/Downloads/MySQL-5.6/MySQL-server-5.6.6_m9-1.linux2.6.x86_64.rpm
yum -y install http://dev.mysql.com/get/Downloads/MySQL-5.6/MySQL-client-5.6.6_m9-1.linux2.6.x86_64.rpm

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.