warning: MySQL-server-5.5.8-1.linux2.6.x86_64.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 try to start the mysqld daemon with:
shell> /usr/sbin/mysqld --skip-grant &
and 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.
Please consult the MySQL manual section
'Problems running mysql_install_db', and the manual section that
describes problems on your OS. Another information source are the
MySQL email archives available at http://lists.mysql.com/.
Please check all of the above before mailing us! And remember, if
you do mail us, you MUST use the /usr/bin/mysqlbug script!
Notes regarding SELinux on this platform:
=========================================
The default policy might cause server startup to fail because it is
not allowed to access critical files. In this case, please update
your installation.
The default policy might also cause inavailability of SSL related
features because the server is not allowed to access /dev/random
and /dev/urandom. If this is a problem, please do the following:
1) install selinux-policy-targeted-sources from your OS vendor
2) add the following two lines to /etc/selinux/targeted/src/policy/domains/program/mysqld.te:
allow mysqld_t random_device_t:chr_file read;
allow mysqld_t urandom_device_t:chr_file read;
3) cd to /etc/selinux/targeted/src/policy and issue the following command:
make load
[root@BOSSNM-web /home/mission]#
----------------------------------------------------------
无法START MYSQL
这个该如何处理啊?
4 个解决方案
#1
看/var/lib/mysql 下面的日志
试试/usr/sbin/mysqld --skip-grant &
试试/usr/sbin/mysqld --skip-grant &
#2
找到了,但不知道有没有用,麻烦看看
[root@BOSSNM-web /var/lib/mysql]#ll
总用量 32
drwx--x--x 2 mysql mysql 4096 1月 25 17:14 mysql
-rw-r--r-- 1 root root 115 1月 25 17:14 RPM_UPGRADE_HISTORY
-rw-r--r-- 1 mysql mysql 115 1月 25 17:14 RPM_UPGRADE_MARKER-LAST
drwxr-xr-x 2 mysql mysql 4096 1月 25 17:14 test
[root@BOSSNM-web /var/lib/mysql]#/usr/sbin/mysqld --skip-grant &
[1] 17136
[root@BOSSNM-web /var/lib/mysql]#
[root@BOSSNM-web /var/lib/mysql]#
[root@BOSSNM-web /var/lib/mysql]#
[root@BOSSNM-web /var/lib/mysql]#cat RPM_UPGRADE_HISTORY
MySQL RPM installation of version 5.5.8-1.linux2.6
Upgrade/install finished at 二 1月 25 17:14:15 CST 2011
=====
[1]+ Exit 1 /usr/sbin/mysqld --skip-grant
[root@BOSSNM-web /var/lib/mysql]#
[root@BOSSNM-web /var/lib/mysql]#
[root@BOSSNM-web /var/lib/mysql]#
[root@BOSSNM-web /var/lib/mysql]#
[root@BOSSNM-web /var/lib/mysql]#cat RPM_UPGRADE_MARKER-LAST
MySQL RPM installation of version 5.5.8-1.linux2.6
Upgrade/install finished at 二 1月 25 17:14:15 CST 2011
[root@BOSSNM-web /var/lib/mysql]#
[root@BOSSNM-web /var/lib/mysql]#
#3
整了一上午
故障还是这样
如何处理啊
故障还是这样
如何处理啊
#4
版本的问题
换了个低版本的RPM 就能安装了
换了个低版本的RPM 就能安装了
#1
看/var/lib/mysql 下面的日志
试试/usr/sbin/mysqld --skip-grant &
试试/usr/sbin/mysqld --skip-grant &
#2
找到了,但不知道有没有用,麻烦看看
[root@BOSSNM-web /var/lib/mysql]#ll
总用量 32
drwx--x--x 2 mysql mysql 4096 1月 25 17:14 mysql
-rw-r--r-- 1 root root 115 1月 25 17:14 RPM_UPGRADE_HISTORY
-rw-r--r-- 1 mysql mysql 115 1月 25 17:14 RPM_UPGRADE_MARKER-LAST
drwxr-xr-x 2 mysql mysql 4096 1月 25 17:14 test
[root@BOSSNM-web /var/lib/mysql]#/usr/sbin/mysqld --skip-grant &
[1] 17136
[root@BOSSNM-web /var/lib/mysql]#
[root@BOSSNM-web /var/lib/mysql]#
[root@BOSSNM-web /var/lib/mysql]#
[root@BOSSNM-web /var/lib/mysql]#cat RPM_UPGRADE_HISTORY
MySQL RPM installation of version 5.5.8-1.linux2.6
Upgrade/install finished at 二 1月 25 17:14:15 CST 2011
=====
[1]+ Exit 1 /usr/sbin/mysqld --skip-grant
[root@BOSSNM-web /var/lib/mysql]#
[root@BOSSNM-web /var/lib/mysql]#
[root@BOSSNM-web /var/lib/mysql]#
[root@BOSSNM-web /var/lib/mysql]#
[root@BOSSNM-web /var/lib/mysql]#cat RPM_UPGRADE_MARKER-LAST
MySQL RPM installation of version 5.5.8-1.linux2.6
Upgrade/install finished at 二 1月 25 17:14:15 CST 2011
[root@BOSSNM-web /var/lib/mysql]#
[root@BOSSNM-web /var/lib/mysql]#
#3
整了一上午
故障还是这样
如何处理啊
故障还是这样
如何处理啊
#4
版本的问题
换了个低版本的RPM 就能安装了
换了个低版本的RPM 就能安装了