mysql:14488
From: Kenichiro Tao <Kenichiro Tao <EZY04670@xxxxxxxxxx>>
Date: Sun, 04 May 2008 14:34:20 +0900
Subject: [mysql 14488] Re: CentOS5でMySQL4.0系のmake時の失敗について
田尾です。 >>かとう様 失礼しました、mysql_install_dbを実行し忘れていましたが、 実行したところ、 -------------------------------------------------------------- [root@localhost test]# /usr/local/mysql/bin/mysql_install_db Preparing db table Preparing host table Preparing user table Preparing func table Preparing tables_priv table Preparing columns_priv table Installing all prepared tables 080504 23:21:05 /usr/local/mysql/libexec/mysqld: unknown variable 'old_passwords=1' Installation of grant tables failed! Examine the logs in /var/lib/mysql for more information. You can also try to start the mysqld daemon with: /usr/local/mysql/libexec/mysqld --skip-grant & You can use the command line tool /usr/local/mysql/bin/mysql to connect to the mysql database and look at the grant tables: shell> /usr/local/mysql/bin/mysql -u root mysql mysql> show tables Try 'mysqld --help' if you have problems with paths. Using --log gives you a log in /var/lib/mysql that may be helpful. The latest information about MySQL is available on the web at http://www.mysql.com Please consult the MySQL manual section: 'Problems running mysql_install_db', and the manual section that describes problems on your OS. Another information source is the MySQL email archive. Please check all of the above before mailing us! And if you do mail us, you MUST use the /usr/local/mysql/bin/mysqlbug script! ----------------------------------------------------------------- となります。 また、/usr/local/mysql/bin/mysqlbugの中身は ----------------------------------------------------------------- #!/bin/sh # Create a bug report and mail it to the mysql mailing list # Based on glibc bug reporting script. echo "Finding system information for a MySQL bug report" VERSION="4.0.27" COMPILATION_COMMENT="Source distribution" BUGmysql="mysql@xxxxxxxxxx" # This is set by configure COMP_ENV_INFO="CC='gcc' CFLAGS='' CXX='g++' CXXFLAGS='' LDFLAGS='' ASFLAGS=''" CONFIGURE_LINE="./configure '--prefix=/usr/local/mysql' '--with-mysqld-user=mysql' '--with -charset=ujis' '--with-extra-charsets=all' '--with-berkeley-db' '--with-innodb' '--without -readline' '--with-named-thread-libs=-lpthread'" LIBC_INFO="" for pat in /lib/libc.* /lib/libc-* /usr/lib/libc.* /usr/lib/libc-* do TMP=`ls -l $pat 2>/dev/null` if test $? = 0 then LIBC_INFO="$LIBC_INFO $TMP" fi done PATH=../client:$PATH:/bin:/usr/bin:/usr/local/bin export PATH BUGADDR=${1-$BUGmysql} ENVIRONMENT=`uname -a` : ${USER=${LOGNAME-`whoami`}} "mysqlbug" 382L, 9593C ----------------------------------------------------------------- です。 >>中冨様 /var/lib/mysql はありましたが、 /var/run/mysql がありませんでした。 以上、ご迷惑おかけして申し訳ありませんが、よろしくお願いいたします。 >> >>(2008/05/04 13:45) Kenichiro Tao wrote: >>> /usr/local/mysql/bin/mysqld_safe & >>> を実行すると、以下のようなメッセージが出てMySQLが起動しません。 >>(snip) >>> [root@localhost /]# /usr/local/mysql/bin/mysqld_safe & >>> [1] 23494 >>> [root@localhost /]# Starting mysqld daemon with databases from /var/lib/mysql >>> STOPPING server from pid file /var/run/mysqld/mysqld.pid >>> 080504 22:40:24 mysqld ended >> >> 表示されたメッセージやログくらい読みましょう。 >> >> /var/lib/mysql/<hostname>.errに原因が書いてありませんか? あるいは >> mysql_install_dbを実行していないとか。 >>中冨です >> >> /var/lib/mysql と /var/run/mysql は存在しますか? ------------------------------------- 田尾 兼一郎 (EZY04670@xxxxxxxxxx)
14481 2008-05-04 12:42 [Kenichiro Tao <EZY04] CentOS5でMySQL4.0系のmake時の失敗について 14482 2008-05-04 12:51 ┣[Yukihiro KAWADA <yuk] 14483 2008-05-04 12:53 ┗[kazu yamamoto <nami@] 14484 2008-05-04 13:45 ┗[Kenichiro Tao <EZY04] 14485 2008-05-04 14:06 ┣[Tomohiro 'Tomo-p' KA] 14486 2008-05-04 14:07 ┣[Katsutoshi Nakatomi ] -> 14488 2008-05-04 14:34 ┃┗[Kenichiro Tao <EZY04] 14490 2008-05-04 14:44 ┃ ┣["Tetsuro IKEDA" <ikd] 14491 2008-05-04 14:52 ┃ ┣["TOYOSHIMA,Masayuki"] 14493 2008-05-04 14:58 ┃ ┃┗["Tetsuro IKEDA" <ikd] 14497 2008-05-04 16:50 ┃ ┃ ┗[kazu yamamoto <nami@] 14498 2008-05-04 17:56 ┃ ┃ ┗[Kenichiro Tao <EZY04] 14499 2008-05-04 18:32 ┃ ┃ ┣["Naosuke MORITA" <nm] 14501 2008-05-05 13:50 ┃ ┃ ┃┗[Kenichiro Tao <EZY04] 14502 2008-05-06 10:15 ┃ ┃ ┃ ┗[Kenichiro Tao <EZY04] 14503 2008-05-06 10:40 ┃ ┃ ┃ ┗[kazu yamamoto <nami@] 14504 2008-05-06 11:24 ┃ ┃ ┃ ┗[Kenichiro Tao <EZY04] 14505 2008-05-06 11:56 ┃ ┃ ┃ ┣[Hideyoshi ARAKIDA <a] 14506 2008-05-06 12:01 ┃ ┃ ┃ ┗[kazu yamamoto <nami@] 14507 2008-05-06 13:07 ┃ ┃ ┃ ┗[Kenichiro Tao <EZY04] 14508 2008-05-06 13:26 ┃ ┃ ┃ ┣[Hideyoshi ARAKIDA <a] 14510 2008-05-06 14:04 ┃ ┃ ┃ ┃┗[Kenichiro Tao <EZY04] 14511 2008-05-06 17:50 ┃ ┃ ┃ ┃ ┗[Kenichiro Tao <EZY04] 14512 2008-05-06 18:58 ┃ ┃ ┃ ┃ ┣[Katsutoshi Nakatomi ] 14513 2008-05-06 19:27 ┃ ┃ ┃ ┃ ┗[Tomohiro 'Tomo-p' KA] 14514 2008-05-06 19:41 ┃ ┃ ┃ ┃ ┗[Kenichiro Tao <EZY04] 14515 2008-05-06 20:55 ┃ ┃ ┃ ┃ ┣[Kenichiro Tao <EZY04] 14517 2008-05-06 22:56 ┃ ┃ ┃ ┃ ┃┗[Tomohiro 'Tomo-p' KA] 14518 2008-05-07 09:32 ┃ ┃ ┃ ┃ ┃ ┗[Kenichiro Tao <EZY04] 14519 2008-05-07 10:07 ┃ ┃ ┃ ┃ ┃ ┗[Katsutoshi Nakatomi ] 14520 2008-05-07 10:18 ┃ ┃ ┃ ┃ ┃ ┗[Kenichiro Tao <EZY04] 14521 2008-05-09 13:59 ┃ ┃ ┃ ┃ ┃ ┗[Kenichiro Tao <EZY04] 14516 2008-05-06 21:06 ┃ ┃ ┃ ┃ ┗[kazu yamamoto <nami@] 14509 2008-05-06 13:59 ┃ ┃ ┃ ┗["大崎智樹" <t.divest] 14500 2008-05-04 18:40 ┃ ┃ ┗[Katsutoshi Nakatomi ] 14492 2008-05-04 14:55 ┃ ┣[Katsutoshi Nakatomi ] 14494 2008-05-04 15:32 ┃ ┗["mye" <mye@xxxxxxxxx] 14495 2008-05-04 15:51 ┃ ┗[Kenichiro Tao <EZY04] 14496 2008-05-04 16:48 ┃ ┗["mye" <mye@xxxxxxxxx] 14487 2008-05-04 14:32 ┗["Tetsuro IKEDA" <ikd] 14489 2008-05-04 14:41 ┗[Kenichiro Tao <EZY04]