MySQL-server-5.0.18-0.i386.rpm安装后的启动问题

问题如下:

[root@Linux wu]# rpm -ivh MySQL-server-5.0.18-0.i386.rpm
warning: MySQL-server-5.0.18-0.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing...                ########################################### [100%]
   1:MySQL-server           ########################################### [100%]
Installation of system tables failed!

Examine the logs in /var/lib/mysql for more information.
You can also try to start the mysqld daemon with:
/usr/sbin/mysqld --skip-grant &
You can use the command line tool
/usr/bin/mysql to connect to the mysql
database and look at the grant tables:

shell> /usr/bin/mysql -u root mysql
mysql> show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /var/lib/mysql 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/bin/mysqlbug script!
Starting MySQL...................................[FAILED]

解决方式可能为:

我在Red Hat Enterprise Linux AS 4.0操作系统下安装MySQL-server-standard-5.0.18-0.rhel4.i386.rpm遇到的现象也是这样的,后来查了MySQL的手册,有人提到需要关闭SELinux,果然解决了问题。步骤如下:
1. 关闭SELinux,重启系统;
2. 安装MySQLMySQL server应该可以启动了);
3. 启用SELinux,重启系统,之后MySQL server就可以正常启动了。

明天去了试一下!今天郁闷了一天!

你可能感兴趣的:(Web,mysql,linux,OS)