VPS侦探论坛

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

lnmp一键安装mysql安装失败

[复制链接]
发表于 2016-12-6 11:40:02 | 显示全部楼层 |阅读模式

LNMP  安装提示mysql没有安装上,找到日志,报错如下,



  • ^[[0;34m[+] Installing mysql-5.5.48...^[[0m
  • Uncompress mysql-5.5.48.tar.gz...
  • cd mysql-5.5.48...
  • patching file vio/viossl.c
  • Hunk #1 FAILED at 172.
  • 1 out of 1 hunk FAILED -- saving rejects to file vio/viossl.c.rej
  • include/mysql.sh: line 269: cmake: command not found
  • make: *** No targets specified and no makefile found.  Stop.
  • groupadd: group 'mysql' already exists
  • useradd: user 'mysql' already exists
  • include/mysql.sh: line 348: /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
  • Add mysql service at system startup...
  • error reading information on service mysql: No such file or directory
  • error reading information on service mysql: No such file or directory
  • include/mysql.sh: line 25: /etc/init.d/mysql: No such file or directory
  • include/mysql.sh: line 33: /usr/local/mysql/bin/mysqladmin: No such file or directory
  • failed, try other way...
  • include/mysql.sh: line 45: /usr/local/mysql/bin/mysql: No such file or directory
  • Set password failed!
  • include/mysql.sh: line 47: /usr/local/mysql/bin/mysql: No such file or directory
  • FLUSH PRIVILEGES failed!
  • include/mysql.sh: line 52: /etc/init.d/mysql: No such file or directory
  • include/main.sh: line 491: /usr/local/mysql/bin/mysql: No such file or directory
  • Update root password...
  • include/main.sh: line 491: /usr/local/mysql/bin/mysql: No such file or directory
  • ... Failed!
  • Remove anonymous users...
  • include/main.sh: line 491: /usr/local/mysql/bin/mysql: No such file or directory
  • include/main.sh: line 491: /usr/local/mysql/bin/mysql: No such file or directory
  • ... Failed!
  • Disallow root login remotely...
  • include/main.sh: line 491: /usr/local/mysql/bin/mysql: No such file or directory
  • ... Failed!
  • Remove test database...
  • include/main.sh: line 491: /usr/local/mysql/bin/mysql: No such file or directory
  • ... Failed!
  • Reload privilege tables...
  • include/main.sh: line 491: /usr/local/mysql/bin/mysql: No such file or directory
  • ... Failed!
  • include/mysql.sh: line 80: /etc/init.d/mysql: No such file or directory
  • include/mysql.sh: line 81: /etc/init.d/mysql: No such file or directory
  • ^[[0;34m[+] Installing php-5.4.45...^[[0m
  • Uncompress php-5.4.45.tar.gz...


求教怎么在不重装的前提下,安装好mysql,解压包找到,怎么安装才能继续使用lnmp命令?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-12-6 15:08:56 | 显示全部楼层


信息有限没法说,按仅有的信息可能依赖包都没安装上,需要完整日志
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-16 18:05 , Processed in 0.025264 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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