我一个客户搭建出问题了

2024/10/22 12:26:13 /home/gitlab-runner/builds/aycvuXq2/0/xp/xp-panel/services/mysql.go:988 record not found 

 [0.643ms] [rows:0] SELECT * FROM `local_softs` WHERE name = "mysql" and install_status = 1 ORDER BY `local_softs`.`id` LIMIT 1 

[2024/10/22 12:31:22.288] [小皮面板] [ERROR] [ome/gitlab-runner/builds/aycvuXq2/0/xp/xp-panel/services/soft.go:351] 软件 mysql-8.0 启动未成功,错误信息:exec /xp/panel/tmp/op-mysql-8.0.sh error: exit status 1 

2024/10/22 12:33:30 /home/gitlab-runner/builds/aycvuXq2/0/xp/xp-panel/common/xpConfig.go:50 record not found 

[0.724ms] [rows:0] SELECT * FROM `panel_cfgs` WHERE section = "panel" and key = "DingRobot" ORDER BY `panel_cfgs`.`section` LIMIT 1 

2024/10/22 12:33:30 /home/gitlab-runner/builds/aycvuXq2/0/xp/xp-panel/common/xpConfig.go:50 record not found 

[0.049ms] [rows:0] SELECT * FROM `panel_cfgs` WHERE section = "panel" and key = "WxOrgRobot" ORDER BY `panel_cfgs`.`section` LIMIT 1 

2024/10/22 12:33:30 /home/gitlab-runner/builds/aycvuXq2/0/xp/xp-panel/common/xpConfig.go:50 record not found 

[0.033ms] [rows:0] SELECT * FROM `panel_cfgs` WHERE section = "panel" and key = "FeiShuRobot" ORDER BY `panel_cfgs`.`section` LIMIT 1

解决方案

可以了,他这个机器环境不干净,/etc下已经有一个mysql的配置文件了,看起来之前应该装过宝塔,导致mysql去找这个默认的配置文件了

技术把他 /etc下面的my.cnf改了个名字,启动成功了

0 綦桐-科技桐, 科技桐总站长 于 4天前
添加新评论
0 条评论
暂无评论

版权区

亲爱的用户欢迎您
侵犯版权/问题反馈
发送至邮箱:qitong@yoonee.net
Powered by 綦桐专业团队研发-luolitu.vip 0.7.1

网站备案/许可证号:鲁ICP备2021035806号

gotop
0 new message tips
title list