郁闷死了,装了两天 Mysql5没有装上,请求大匣帮忙!!

郁闷死了,装了两天 Mysql5没有装上,请求大匣帮忙!!

040417 19:44:30  mysqld started
040417 19:44:30  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
040417 19:44:30  InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 43634.
InnoDB: Doing recovery: scanned up to log sequence number 0 43634
040417 19:44:30  InnoDB: Flushing modified pages from the buffer pool...
040417 19:44:30  InnoDB: Started; log sequence number 0 43634
040417 19:44:30  Fatal error: Can't open privilege tables: Table 'mysql.host' doesn't exist
040417 19:44:30  mysqld ended
这是错误信息,想帮忙看看。怎么解决?谢谢了!      
我的是redhat3.0企业版,装的时候也是这个错误,请老鸟帮忙解答下,谢谢      
你下载的源代码么?在它源代码网站上有安装和编译方法的,你去看一下就可以的。      
应该是权限问题,把mysql的安装目录应用:
chown -R mysql:mysql $mysql_home
chmod 755 $mysql_home

我想那样就可以OK了!!!!      
have you had a look in var to see what's there?

have you checked the permissions using ls -al?

your chowning and chgrping should have a -R switch (recursive) and come *after* you've run mysql_install_db, i believe.

for completeness, here's my full mysql install:

groupadd mysql
useradd -g mysql mysql

tar xzvf mysql-xxx.tar.gz
cd mysql-xxx
./configure --prefix=/usr/local/mysql
make
make install
scripts/mysql_install_db

chown -R root /usr/local/mysql
chown -R mysql /usr/local/mysql/var
chgrp -R mysql /usr/local/mysql

cd /usr/local/mysql/bin
./safe-mysqld --user=mysql &

good luck!      
子细阅读README吧。5.0测试版装4.0好一些啊。