WDlinux官方论坛's Archiver

chougege 发表于 2013-4-12 17:00

升级mysql 5.5 出现错误,请高手指点

升级mysql的代码
wget http://down.wdlinux.cn/in/mysql_up55.sh
sh mysql_up55.sh


系统为 WDOS 安装版本。

已经成功 升级 PHP 5.3

按照上边的 教程 升级 mysql5.5 总出现 错误。

[code]
[ 76%] Building CXX object client/CMakeFiles/mysql.dir/sql_string.cc.o
Linking CXX executable mysql
/usr/bin/ld: skipping incompatible /usr/lib/libcurses.so when searching for -lcurses
/usr/bin/ld: skipping incompatible /usr/lib/libcurses.a when searching for -lcurses
/usr/bin/ld: cannot find -lcurses
collect2: ld returned 1 exit status
make[2]: *** [client/mysql] Error 1
make[1]: *** [client/CMakeFiles/mysql.dir/all] Error 2
make: *** [all] Error 2
make err

[/code]
[attach]2798[/attach]

admin 发表于 2013-4-12 19:50

yum install -y ncurses-devel
然后再安装试试

chougege 发表于 2013-4-13 15:38

管理员 你好,你看到的图 就是 安装了 ncurses-devel 5.5 之后的画面。

安装 ncurses-devel5.6/5.7 会报错!

chougege 发表于 2013-4-13 15:39

管理员 你好,你看到的图 就是 安装了 ncurses-devel 5.5 之后的画面。

安装 ncurses-devel5.6/5.7 会报错!

报 好像是  加密 啥的 错误!

chougege 发表于 2013-4-14 15:57

76%
的错误已经过了,如图,出现了两个 ncurses-devel 和 ncurses 。

没有的请 到 http://rpmfind.net 下载。

找对应的版本。

[attach]2809[/attach]

admin 发表于 2013-4-14 20:05

两个完全一样?

chougege 发表于 2013-4-15 10:15

1,回复上边的问题,反正我这里显示是两个。76%的问题就过去了,到了最后显示升级成功。但是并没有成功,显示/WWW/....../DATA/的 PID找不到。mysql不能启动。

2,我想问一下,我把原来的 mysql 5.1和5.5 都删除了,所谓的 etc下的 my.cnf 也删除了,为什么系统启动是 还有有 进程,用 ps -ef|grep mysql  和 ps -ef|grep mysqld 都有!【未解决,现在正在重新安装WDOS】

3、我想问问,如果能把mysql 完全卸载了,查看不到进程了,自己 再重新 默认安装一个 mysql,咱们的系统能不能使用??

admin 发表于 2013-4-15 20:10

要按原来的路径等安装,可以好了,应该可以

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.