From: Takuya Nakadai Date: April 2 2008 7:00am Subject: =?ISO-2022-JP?B?bXlzcWxfaW5zdGFsbF9kYjUbJEIkTiVIJWklViVrGyhC?= List-Archive: http://lists.mysql.com/mysql-ja/315 Message-Id: <3715176E-24DA-4FC9-AE7C-F0B3ABB6BB20@gmail.com> MIME-Version: 1.0 (Apple Message framework v919.2) Content-Type: text/plain; charset=ISO-2022-JP; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit はじめまして。 zongtaiといいます。 sudo -u mysql mysql_install_db5 を実行したら、以下のようなエラーが出て来ました。 どう対処したら良いのでしょうか? 'init-connecte='SET NAMES utf8' ↑ これを修正すれば良いのはわかるのですが、 どのファイルを修正すれば良いのでしょうか? どなたか助けて頂けると幸いです。 ちなみに環境は OS: MacOSX 10.5.2 --------- macintosh-51:libexec zogntai$ sudo -u mysql mysql_install_db5 Password: Sorry, try again. Password: Installing MySQL system tables... 080402 13:51:45 [ERROR] /opt/local/libexec/mysqld: unknown variable 'init-connecte='SET NAMES utf8' Installation of system tables failed! Examine the logs in /opt/local/var/db/mysql5 for more information. You can try to start the mysqld daemon with: /opt/local/libexec/mysqld --skip-grant & and use the command line tool /opt/local/lib/mysql5/bin/mysql to connect to the mysql database and look at the grant tables: shell> /opt/local/lib/mysql5/bin/mysql -u root mysql mysql> show tables Try 'mysqld --help' if you have problems with paths. Using --log gives you a log in /opt/local/var/db/mysql5 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 /opt/local/lib/mysql5/bin/ mysqlbug script!