4月 6, 2010
mysql初回起動時エラー
初回起動時エラーの対策です。
・現象
[root@centos ~]# /etc/init.d/mysqld start Timeout error occurred trying to start MySQL Daemon. MySQL を起動中: [失敗]
・エラーログ
[root@centos ~]# /var/log/mysqld.log [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
・解決策
[root@centos ~]# mysql_install_db [root@centos ~]# /etc/init.d/mysqld start