archlinux安装mysql_arch-linux – 无法从二进制文件安装MySQL

所以,我是计算机科学的新生,我从我的车库里挖了一台旧电脑作为个人托管服务器用于各种服务(电子邮件,网站,颠覆等),部分原因是我实际上需要这些东西部分用于学习体验.

WOPR(道具,如果你得到参考)是一个10年旧的戴尔Dimension与256 MB RAM和500MHz英特尔奔腾III处理器.它正在运行Arch Linux 2010.05(内核2.6.33);我刚刚下载了MySQL二进制文件from here并尝试安装.

我正在从MySQL文档中遵循此过程:

shell> groupadd mysql

shell> useradd -r -g mysql mysql

shell> cd /usr/local

shell> tar zxvf /path/to/mysql-VERSION-OS.tar.gz

shell> ln -s full-path-to-mysql-VERSION-OS mysql

shell> cd mysql

shell> chown -R mysql .

shell> chgrp -R mysql .

shell> scripts/mysql_install_db --user=mysql

shell> chown -R root .

shell> chown -R mysql data

shell> cp support-files/my-medium.cnf /etc/my.cnf

shell> bin/mysqld_safe --user=mysql &

shell> cp support-files/mysql.server /etc/init.d/mysql.server

我收到以下消息:

06001

compatible

with this binary MySQL version. The MySQL daemon, mysqld, should

work

normally with the exception that host name resolving will not

work.

This means that you should use IP addresses instead of hostnames

when specifying MySQL privileges !

Installing MySQL system tables…

./bin/mysqld: error while loading shared libraries: libaio.so.1:

cannot open shared object file: No such file or directory

06002

我从最新版本的Arch安装了glibc.有谁知道libaio.so.1是什么,它来自哪个包,它的依赖可能是什么?


版权声明:本文为weixin_29383401原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。