LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing MySQL - libaio dependency error (https://www.linuxquestions.org/questions/linux-newbie-8/installing-mysql-libaio-dependency-error-910405/)

nknithya 10-27-2011 02:02 AM

installing MySQL - libaio dependency error
 
Hi All,

I have a problem while installing mysql 5.5.16 in my Linux machine.

When I run the following command from Mysql directory,
scripts/mysql_install_db --user=root

I got this error:
Installing MySQL system tables...
./bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory

when I searched in net, I found this line:
InnoDB now has a innodb_use_native_aio system variable that can be disabled at startup if there is a problem with the asynchronous I/O subsystem in the OS. This variable applies to Linux systems only, where the MySQL server now has a dependency on the libaio library.

This dependency has been introduced from 5.5.4 version (When I tried with mysql5.5.3-m3 version its getting installed properly).

Is it mandatory to install the libaio liabrary or is it enough if I set innodb_use_native_aio=0 without installing libaio library.

Also in which file I need to modify the ‘innodb_use_native_aio’ variable?

Thanks in Advance!!


All times are GMT -5. The time now is 04:24 AM.