Offline MySQL installation (Using deb file and no internet connection)

Posted by Muhammad Gelbana on Ask Ubuntu See other posts from Ask Ubuntu or by Muhammad Gelbana
Published on 2012-11-25T16:42:16Z Indexed on 2012/11/25 17:20 UTC
Read the original article Hit count: 361

Filed under:
|
|

I downloaded MySQL's installation package and ran the following command after installing a fresh Ubuntu server.

dpkg -i mysql-5.5.28-debian6.0-x86_64.deb

It installed fine and then I tried starting up the server manually

/opt/mysql/server-5.5/bin/mysqld

And the following error came up

/opt/mysql/server-5.5/bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory

How can I install that library in an offline way ? I have no means whatsoever to an internet connection from that server and I can't even relocate it to have internet connection temporarily !

Thank you.

© Ask Ubuntu or respective owner

Related posts about server

Related posts about dpkg