はじめまして。
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!
| Thread |
|---|
| • mysql_install_db5のトラブル | Takuya Nakadai | 2 Apr 2008 |