VPS侦探论坛

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

centos8 安装LNMP1.8mysql失败

[复制链接]
发表于 2021-6-5 15:21:49 | 显示全部楼层 |阅读模式




centos 8 系统, 看了下日志大概是这个问题

c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[2]: *** [sql/CMakeFiles/sql.dir/build.make:573: sql/CMakeFiles/sql.dir/item_geofunc.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:7030: sql/CMakeFiles/sql.dir/all] Error 2
make: *** [Makefile:182: all] Error 2
include/mysql.sh: line 607: /usr/local/mysql/bin/mysqld: No such file or directory
Synchronizing state of mysql.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable mysql
Created symlink /etc/systemd/system/multi-user.target.wants/mysql.service → /etc/systemd/system/mysql.service.
/etc/init.d/mysql: line 239: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
/etc/init.d/mysql: line 239: my_print_defaults: command not found
/etc/init.d/mysql: line 239: my_print_defaults: command not found
ERROR! MySQL server PID file could not be found!
/etc/init.d/mysql: line 239: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
include/mysql.sh: line 43: /usr/local/mysql/bin/mysqladmin: No such file or directory
failed, try other way...
/etc/init.d/mysql: line 239: my_print_defaults: command not found
/etc/init.d/mysql: line 239: my_print_defaults: command not found
ERROR! MySQL server PID file could not be found!
/etc/init.d/mysql: line 239: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
include/mysql.sh: line 53: /usr/local/mysql/bin/mysql: No such file or directory
Set password failed!
/etc/init.d/mysql: line 239: my_print_defaults: command not found
/etc/init.d/mysql: line 239: my_print_defaults: command not found
ERROR! MySQL server PID file could not be found!
/etc/init.d/mysql: line 239: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
include/main.sh: line 761: /usr/local/mysql/bin/mysql: No such file or directory
Update root password...
include/main.sh: line 761: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Remove anonymous users...
include/main.sh: line 761: /usr/local/mysql/bin/mysql: No such file or directory
include/main.sh: line 761: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Disallow root login remotely...
include/main.sh: line 761: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Remove test database...
include/main.sh: line 761: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Reload privilege tables...
include/main.sh: line 761: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
/etc/init.d/mysql: line 239: my_print_defaults: command not found
/etc/init.d/mysql: line 239: my_print_defaults: command not found
ERROR! MySQL server PID file could not be found!
/etc/init.d/mysql: line 239: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
/etc/init.d/mysql: line 239: my_print_defaults: command not found
ERROR! MySQL server PID file could not be found!
Clean database src directory...


本帖子中包含更多资源

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

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


安装教程里面有具体要求,任一项要求不满足都无法安装
不用看日志,你这明显内存就不够条件
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2021-10-25 21:57 , Processed in 0.052222 second(s), 27 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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