VPS侦探论坛

 找回密码
 注册
查看: 170|回复: 1

centos 8 安装lnmp环境 mysql失败

[复制链接]
发表于 2022-5-6 17:04:59 | 显示全部楼层 |阅读模式

[+] Installing mysql-5.5.62...
Uncompress mysql-5.5.62.tar.gz...
cd mysql-5.5.62...
gcc version: 7
patching file client/mysql.cc
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file client/mysql.cc.rej
cmake: symbol lookup error: cmake: undefined symbol: archive_write_add_filter_zstd
make: *** No targets specified and no makefile found.  Stop.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target 'install'.  Stop.
include/mysql.sh: line 385: /usr/local/mysql/scripts/mysql_install_db: No such file or directory
cp: cannot stat 'support-files/mysql.server': No such file or directory
chmod: cannot access '/etc/init.d/mysql': No such file or directory
Failed to enable unit: Unit file mysql.service does not exist.
include/mysql.sh: line 39: /etc/init.d/mysql: No such file or directory
include/mysql.sh: line 47: /etc/init.d/mysql: No such file or directory
include/mysql.sh: line 50: /usr/local/mysql/bin/mysqladmin: No such file or directory
failed, try other way...
include/mysql.sh: line 53: /etc/init.d/mysql: No such file or directory
include/mysql.sh: line 66: /usr/local/mysql/bin/mysql: No such file or directory
Set password failed!
include/mysql.sh: line 68: /usr/local/mysql/bin/mysql: No such file or directory
FLUSH PRIVILEGES failed!
include/mysql.sh: line 73: /etc/init.d/mysql: No such file or directory
include/main.sh: line 683: /usr/local/mysql/bin/mysql: No such file or directory
Update root password...
include/main.sh: line 683: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Remove anonymous users...
include/main.sh: line 683: /usr/local/mysql/bin/mysql: No such file or directory
include/main.sh: line 683: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Disallow root login remotely...
include/main.sh: line 683: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Remove test database...
include/main.sh: line 683: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Reload privilege tables...
include/main.sh: line 683: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
include/mysql.sh: line 103: /etc/init.d/mysql: No such file or directory
include/mysql.sh: line 104: /etc/init.d/mysql: No such file or directory
Clean database src directory...
[+] Installing openssl-1.0.2t

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


你先看看你自己用的lnmp什么版本,不是最新1.9就去下载1.9用1.9安装
论坛反馈必读都说过如何反馈问题了,不按要求反馈没法猜
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2022-5-22 19:05 , Processed in 0.015856 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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