最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 科技 - 知识百科 - 正文

wdcp升级mysql5.5_MySQL

来源:动视网 责编:小采 时间:2020-11-09 19:23:15
文档

wdcp升级mysql5.5_MySQL

wdcp升级mysql5.5_MySQL: 升级命令wget http://down.wdlinux.cn/in/mysql_up55.shsh mysql_up55.sh安装日志错误部分Shutting down MySQL. SUCCESS! scripts/mysql_install_db.sh: line 325: @HOSTNAME@: command not foundW
推荐度:
导读wdcp升级mysql5.5_MySQL: 升级命令wget http://down.wdlinux.cn/in/mysql_up55.shsh mysql_up55.sh安装日志错误部分Shutting down MySQL. SUCCESS! scripts/mysql_install_db.sh: line 325: @HOSTNAME@: command not foundW

升级命令

wget http://down.wdlinux.cn/in/mysql_up55.shsh mysql_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
安装完后提示
1.png

重启mysql时提示,后台登陆不了。
2.png

解决办法

3.png

vi /www/wdlinux/init.d/mysqld
修改46 47行的目录为安装目录与数据库目录
4.png

5.png

下载 (8.81 KB)

2013-4-3 10:54

文档

wdcp升级mysql5.5_MySQL

wdcp升级mysql5.5_MySQL: 升级命令wget http://down.wdlinux.cn/in/mysql_up55.shsh mysql_up55.sh安装日志错误部分Shutting down MySQL. SUCCESS! scripts/mysql_install_db.sh: line 325: @HOSTNAME@: command not foundW
推荐度:
标签: 升级 5.5 mysql
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top