当前位置:论坛首页 > Linux面板 > 讨论

【已回应】mysql 5.7 编译安装错误

发表在 Linux面板2019-3-18 17:02 [复制链接] 2 1922

系统:
[root@li1049-53 ~]# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)


VPS平台: Linode, 4CPU, 8G RAM.

最新版的宝塔面板安装。然后安装编译Mysql 5.7安装错误。检查log, 看到下面这个。手动安装cmake 解决问题。一个小问题,也许可以更新一下.sh 脚本,提钱安装所有需要用到的命令。现在编译安装正在进行。希望可以好。

mysql.sh: line 645: cmake: command not found
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
groupadd: group 'mysql' already exists
useradd: user 'mysql' already exists
mysql.sh: line 759: /www/server/mysql/bin/mysqld: No such file or directory
cp: cannot stat ‘support-files/mysql.server’: No such file or directory
chmod: cannot access ‘/etc/init.d/mysqld’: No such file or directory
sed: can't read /etc/init.d/mysqld: No such file or directory
mysql.sh: line 774: /etc/init.d/mysqld: No such file or directory
mysql.sh: line 781: /www/server/mysql/bin/mysqladmin: No such file or directory
error reading information on service mysqld: No such file or directory
error reading information on service mysqld: No such file or directory

使用道具 举报 只看该作者 回复
发表于 2019-3-18 17:17:19 | 显示全部楼层
忘记说了,完全干净的系统。重装了N次,都是报错
使用道具 举报 回复 支持 反对
发表于 2019-3-19 12:07:39 | 显示全部楼层
chenxiongni 发表于 2019-3-18 17:17
忘记说了,完全干净的系统。重装了N次,都是报错

一般正常安装都会有给安装编译工具的。我们在测试机器包括其他用户使用,都是相同的脚本,都可以直接安装的。
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

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