huanbird 发表于 2019-4-23 10:16:34

Centos7.6 mysql8.0安装报错

Checking ...
Nginx: OK
MySQL: OK
PHP: OK
PHP-FPM: OK
Clean src directory...
+------------------------------------------------------------------------+
|          LNMP V1.5 for CentOS Linux Server, Written by Licess          |
+------------------------------------------------------------------------+
|         For more information please visit https://lnmp.org         |
+------------------------------------------------------------------------+
|    lnmp status manage: lnmp {start|stop|reload|restart|kill|status}    |
+------------------------------------------------------------------------+
|phpMyAdmin: http://IP/phpmyadmin/                                     |
|phpinfo: http://IP/phpinfo.php                                        |
|Prober:http://IP/p.php                                              |
+------------------------------------------------------------------------+
|Add VirtualHost: lnmp vhost add                                       |
+------------------------------------------------------------------------+
|Default directory: /home/wwwroot/default                              |
+------------------------------------------------------------------------+
|MySQL/MariaDB root password: lnmp.org#25699                        |
+------------------------------------------------------------------------+
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|            https://lnmp.org             |
+-------------------------------------------+
nginx (pid 22678 22677 22676) is running...
php-fpm is runing!
ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address         Foreign Address         State      
tcp      0      0 0.0.0.0:80            0.0.0.0:*               LISTEN   
tcp      0      0 0.0.0.0:22            0.0.0.0:*               LISTEN   
Install lnmp takes 55 minutes.
Install lnmp V1.5 completed! enjoy it.
#
#
#
# lnmp restart
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|            https://lnmp.org             |
+-------------------------------------------+
Stoping LNMP...
Stoping nginx...done
ERROR! MySQL server PID file could not be found!
Gracefully shutting down php-fpm . done
Starting LNMP...
Starting nginx...done
Starting MySQL.Logging to '/usr/local/mysql/var/iZbp183wql3f1ykcqckyboZ.err'.
/usr/local/mysql/bin/mysqld_safe: line 199: 23942 Segmentation fault      env MYSQLD_PARENT_PID=23425 nohup /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --plugin-dir=/usr/local/mysql/lib/plugin --user=mysql --log-error=iZbp183wql3f1ykcqckyboZ.err --open-files-limit=65535 --pid-file=/usr/local/mysql/var/iZbp183wql3f1ykcqckyboZ.pid --socket=/tmp/mysql.sock --port=3306 < /dev/null > /dev/null 2>&1
ERROR! The server quit without updating PID file (/usr/local/mysql/var/iZbp183wql3f1ykcqckyboZ.pid).
Starting php-fpmdone

licess 发表于 2019-4-23 13:00:52

发日志看一下

kiddyu 发表于 2019-5-3 22:29:37

本帖最后由 kiddyu 于 2019-5-3 22:39 编辑

遇到了同样的问题,/usr/local/mysql/var/ 中没有信息
补个安装日志




补充内容 (2019-5-3 22:54):
http://133.130.63.135/lnmp-install.log

licess 发表于 2019-5-4 09:47:52

kiddyu 发表于 2019-5-3 22:29
遇到了同样的问题,/usr/local/mysql/var/ 中没有信息
补个安装日志



日志无法下载,按反馈必读要求传个网盘

Jouleken 发表于 2019-5-7 20:33:34

看了一下探针,只有1g的物理内存不能安装mysql 8的,我2g的物理内存都安装失败,要swap才行,网上看见有人yum安装成功。
页: [1]
查看完整版本: Centos7.6 mysql8.0安装报错