バイナリからMySQLをインストールする際に問題があります。

バイナリからMySQLをインストールする際に問題があります。

だから私はコンピュータサイエンスを専攻した新入生であり、様々なサービス(電子メール、ウェブサイト、アワビなど)のための個人ホスティングサーバーとして使用するためにガレージから古いコンピュータを売りました。学習経験のため。

WOPR(参照がある場合は小道具)は、256MB RAMと500MHz Intel Pentium IIIプロセッサを備えた10年以上のDell Dimensionです。 Arch Linux 2010.05(カーネル 2.6.33)を実行します。 MySQLバイナリをダウンロードしました。ここからただインストールしてみました。

私は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

次のメッセージを受け取りました。

WARNING: The host 'WOPR' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 %

このバイナリMySQLのバージョンと互換性があります。 MySQLデーモンmysqldは正常に動作するはずですが、ホスト名解決は機能しません。これは、MySQL権限を指定するときにホスト名の代わりにIPアドレスを使用する必要があることを意味します! MySQLシステムテーブルのインストール中.

Installation of system tables failed!  Examine the logs in
./data for more information.

You can try to start the mysqld daemon with:

    shell> ./bin/mysqld --skip-grant &

and use the command line tool ./bin/mysql
to connect to the mysql database and look at the grant tables:

    shell> ./bin/mysql -u root mysql
    mysql> show tables

Try 'mysqld --help' if you have problems with paths.  Using --log
gives you a log in ./data that may be helpful.

Please consult the MySQL manual section
'Problems running mysql_install_db', and the manual section that
describes problems on your OS.  Another information source are the
MySQL email archives available at http://lists.mysql.com/.

Please check all of the above before mailing us!  And remember, if
you do mail us, you MUST use the ./bin/mysqlbug script!

最新バージョンのArchからglibcをインストールしました。 libaio.so.1が何であるか、どのパッケージから来たのか、そしてその依存関係は何であるかを知っている人はいますか?

ベストアンサー1

AURにlibaioをインストールしてみてください:

aurbuild -s libaio

おすすめ記事