Board logo

标题: [求助] 老大,进来看看!显示升级mysql5.5成功,但是又显示有错误!重启服务器后mysql没起来 [打印本页]

作者: shhuyi    时间: 2013-5-25 22:23     标题: 老大,进来看看!显示升级mysql5.5成功,但是又显示有错误!重启服务器后mysql没起来

详见以下:

Shutting down MySQL....... SUCCESS!
scripts/mysql_install_db.sh: line 325: @HOSTNAME@: command not found
WARNING: The host '' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MySQL privileges !
Installing MySQL system tables...
130525 22:01:45 [ERROR] /www/wdlinux/mysql/bin/mysqld: unknown option '--skip-locking'
130525 22:01:45 [ERROR] Aborting
130525 22:01:45 [Note] /www/wdlinux/mysql/bin/mysqld: Shutdown complete

Installation of system tables failed!  Examine the logs in
/www/wdlinux/mysql/var for more information.
You can try to start the mysqld daemon with:
    shell> /www/wdlinux/mysql/bin/mysqld --skip-grant &
and use the command line tool /www/wdlinux/mysql/bin/mysql
to connect to the mysql database and look at the grant tables:
    shell> /www/wdlinux/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 /www/wdlinux/mysql/var 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 /www/wdlinux/mysql/scripts/mysqlbug script!
ERROR! MySQL server PID file could not be found!
Starting MySQL.. ERROR! The server quit without updating PID file (/www/wdlinux/mysql-5.5.27/data/localhost.localdomain.pid).

Running..., Please Wait...
err
mysql update is OK
作者: shhuyi    时间: 2013-5-25 22:25

用的是老大这个升级脚本

5#  发表于 2012-10-8 17:10 | 只看该作者
不用重新编译面板
你可以用这个试试
wget http://down.wdlinux.cn/in/mysql_up55.sh
sh mysql_up55.sh




欢迎光临 WDlinux官方论坛 (http://wdlinux.cn/bbs/) Powered by Discuz! 7.2