Jan 192015
Article MySQL

A MySQL default setup is easily carried out on a Debian or Ubuntu system with a call to apt-get:

However, this command fails if we are installing MySQL 5.5 on a system running inside a virtual machine using OpenVZ virtualization technology.

The installation prints error messages that make reference to errors in the execution of io_setup() while using Linux native AIO (Asynchronous I/O)

If we have stepped into this issue, we can fix it as follows:

First, uninstall completely the failed mysql installation:

Next, create a text file /etc/my.cnf with the following content:

Finally, install again mysql:

And that’s all!


 Posted by at 11:26 am

 Leave a Reply