关于mysql升级到5.5报错问题
升级命令wget http://down.wdlinux.cn/in/[b][color=#FF0000]mysql[/color][/b]_up55.shsh [b][color=#FF0000]mysql[/color][/b]_up55.sh
安装日志错误部分
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...
OK
Filling help tables...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/www/wdlinux/mysql/bin/mysqladmin -u root password 'new-password'
/www/wdlinux/mysql/bin/mysqladmin -u root -h password 'new-password'
Alternatively you can run:
/www/wdlinux/mysql/bin/mysql_secure_installation
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the manual for more instructions.
You can start the MySQL daemon with:
cd /www/wdlinux/mysql ; /www/wdlinux/mysql/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd /www/wdlinux/mysql/mysql-test ; perl mysql-test-run.pl
Please report any problems with 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
错误情况
http://www.wdlinux.cn/bbs/viewthread.php?tid=5137
安装完后提示
[attach]2726[/attach]
重启mysql时提示,后台登陆不了。
[attach]2727[/attach]
解决办法
[attach]2728[/attach]
vi /www/wdlinux/init.d/mysqld
修改46 47行的目录为安装目录与数据库目录
[attach]2729[/attach]
[attach]2730[/attach] 谢谢 解决问题 谢谢,OK了 我靠,这个帖子应该加精华。 :lol
这个可以找admin。。。
admin少些的东西,我们集体到admin 家赖着。。。 谢谢 解决问题~~! 这个证明了,有效!!!!!
非常非常感谢 我的无效,怎么搞得? 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 submitting a bug report
at http://bugs.mysql.com/
ERROR! MySQL server PID file could not be found!
Starting MySQL. ERROR! The server quit without updating PID file (/www/wdlinux/mysql-5.5.36/data/AY140224145940Z.pid).
Running..., Please Wait...
err
mysql update is OK
[root@AY140224145940Z ~]# 无法连接mysql,请检查mysql是否已启动及用户密码是否设置正确!: 给力 谢谢:) 和11楼一样 没解决 不会操作,能详细点教程不? [b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=36268&ptid=5461]12#[/url] [i]q清和[/i] [/b]
我这边的解决方案 可以参考下 [url=http://www.wdlinux.cn/bbs/viewthread.php?tid=10582&extra=]http://www.wdlinux.cn/bbs/viewthread.php?tid=10582&extra=[/url] 谢谢不错谢谢不错谢谢不错谢谢不错 就是用此方法解决,谢谢。 我来顶贴,只为让更多的人看到这个好贴。感谢楼主 谢谢不错支持支持,找了半天终于搞定 RE: MYSQL5.5+php5.4+zend guard升级方法 谢谢不错谢谢不错谢谢不错谢谢不错 my.cnf 还需要777权限才能启动 感谢分享,我的问题解决了 我要收藏的哒。 为什么没有收藏到!! 我给了667 要找一下是不是,启动时用了哪个用户。 他没有权限运行。 这个证明了,有效!!!!!
非常非常感谢 拖拖的表示不错... Filling help tables...
OK 感谢,升级成功了
页:
[1]