lnmp一键安装mysql安装失败
LNMP安装提示mysql没有安装上,找到日志,报错如下,[*]^[ Installing mysql-5.5.48...^[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[*]^[ Installing php-5.4.45...^[Uncompress php-5.4.45.tar.gz...
求教怎么在不重装的前提下,安装好mysql,解压包找到,怎么安装才能继续使用lnmp命令? 信息有限没法说,按仅有的信息可能依赖包都没安装上,需要完整日志
页:
[1]