e280.err的日志:
060406 11:09:23 mysqld started
Warning: Ignoring user change to 'ser=mysql' because the user was set to 'mysql'
earlier on the command line
060406 11:09:23 InnoDB: Started
060406 11:09:23 Fatal error: Can't open privilege tables: Table 'mysql.host' doe
sn't exist
060406 11:09:23 Aborting
force出现以下的结果:
#./mysql_install_db -user=mysql --force
./mysql_install_db: /usr/local/mysql/bin/my_print_defaults:不能执行
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
./mysql_install_db: /usr/local/mysql/libexec/mysqld: 不能执行
Installation of grant tables failed!
Examine the logs in /usr/local/mysql/var 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 /usr/local/mysql/var 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!
又有新的错误了:
httpd: Syntax error on line 110 of /usr/local/apache2/conf/httpd.conf: API module structure `php5_module' in file /usr/local/apache2/modules/libphp5.so is garbled - perhaps this is not an Apache module DSO?