zxar520 发表于 2017-10-15 04:29:16

新安装时mysql总是出错安装不上

安装1.3或1.4全是这个提示,起先是SQL的一个PID无法创建,导致数据库启动失败(
MySQL server PID file could not be found!),不知道为什么,然后就重装了,怎么装都是这个提示。真是急死了!!!

============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
iptables: Saving firewall rules to /etc/sysconfig/iptables:
Add Startup and Starting LNMP...
Add nginx service at system startup...
Starting nginx...done
Add mysql service at system startup...
/etc/init.d/mysql: line 244: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
Add php-fpm service at system startup...
Starting php-fpmdone
============================== Check install ==============================
Checking ...
Nginx: OK
Error: MySQL install failed.
PHP: OK
PHP-FPM: OK
Sorry, Failed to install LNMP!
Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.
#

[ 本帖最后由 zxar520 于 2017-10-15 04:30 编辑 ]

licess 发表于 2017-10-15 11:43:08

Scanning dependencies of target GenError
[ 22%] Generating ../include/mysqld_error.h, ../sql/share/english/errmsg.sys
/bin/sh: line 1:4771 Segmentation fault      ./comp_err --charset=/root/lnmp1.4/src/mysql-5.5.56/sql/share/charsets --out-dir=/root/lnmp1.4/src/mysql-5.5.56/sql/share/ --header_file=/root/lnmp1.4/src/mysql-5.5.56/include/mysqld_error.h --name_file=/root/lnmp1.4/src/mysql-5.5.56/include/mysqld_ername.h --state_file=/root/lnmp1.4/src/mysql-5.5.56/include/sql_state.h --in_file=/root/lnmp1.4/src/mysql-5.5.56/sql/share/errmsg-utf8.txt
make: *** Error 139
make: *** Error 2
mysql都没安装成功,不清楚原因,建议换centos7试试

zxar520 发表于 2017-10-15 14:08:08

在centos7上测试安装是正常,就是不知道为什么6的为什么突然不行了,难道是他们更换了ISO不支持?
页: [1]
查看完整版本: 新安装时mysql总是出错安装不上