VPS侦探论坛

 找回密码
 注册
查看: 3669|回复: 4

Centos7 lnmp升级MySQL8.0.17失败

[复制链接]
发表于 2019-8-8 18:06:02 | 显示全部楼层 |阅读模式

内存2G 未做虚拟内存调整 初始状态
安装了cmake3 并做了镜像替换cmake2文件
通过scl安装了gcc8
升级MySQL8.0.17失败 附上日志
怀疑内存不够 好像还有其他问题
请指教!




本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2019-8-8 19:33:23 | 显示全部楼层


[ 92%] Linking CXX executable ../runtime_output_directory/mysqld
collect2: fatal error: ld terminated with signal 9 [Killed]
compilation terminated.
make[2]: *** [runtime_output_directory/mysqld] Error 1
make[2]: *** Deleting file `runtime_output_directory/mysqld'
make[1]: *** [sql/CMakeFiles/mysqld.dir/all] Error 2

内存是阻碍安装mysql 8.0的大老虎之一
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2019-8-8 20:33:09 | 显示全部楼层

licess 发表于 2019-8-8 19:33
[ 92%] Linking CXX executable ../runtime_output_directory/mysqld
collect2: fatal error: ld terminate ...

能否提供一下解决方法?
另MySQL5.7.27相比最新的8.0.17推荐装哪个?
5.7.27需要的内存小一些?
多谢
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2019-8-9 08:47:51 | 显示全部楼层



rfcc1001 发表于 2019-8-8 20:33
能否提供一下解决方法?
另MySQL5.7.27相比最新的8.0.17推荐装哪个?
5.7.27需要的内存小一些?

mysql 5.7内存要求虽比mysql 8.0 小,但是需要的内存量也是比较大的
2GB内存以下的话建议mysql 5.6
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2019-8-9 14:31:10 | 显示全部楼层

licess 发表于 2019-8-9 08:47
mysql 5.7内存要求虽比mysql 8.0 小,但是需要的内存量也是比较大的
2GB内存以下的话建议mysql 5.6 ...

好的 多谢

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-22 12:49 , Processed in 0.027409 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表