VPS侦探论坛

 找回密码
 注册
查看: 3680|回复: 3

安装lnmp1.3后mysql无法登陆

[复制链接]
发表于 2016-5-5 16:01:51 | 显示全部楼层 |阅读模式

用的contos7系统  64位
之前用的是lnmp1.2  使用安装包内的uninstall.sh脚本卸载
这是安装后的日志信息结尾
+------------------------------------------------------------------------+
|          LNMP V1.3 for CentOS Linux Server, Written by Licess          |
+------------------------------------------------------------------------+
|         For more information please visit http://www.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: 123123                          |
+------------------------------------------------------------------------+
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|              http://lnmp.org              |
+-------------------------------------------+
nginx (pid 58674 58673 58672 58671 58670) is running...
php-fpm is runing!
MySQL is running but PID file could not be found[失败]

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 192.168.122.1:53        0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN     
tcp6       0      0 :::3306                 :::*                    LISTEN     
tcp6       0      0 :::22                   :::*                    LISTEN     
tcp6       0      0 ::1:631                 :::*                    LISTEN     
Install lnmp V1.3 completed! enjoy it.

提示mysql PID没找到

mysql错误日志奉上
请军哥帮忙看看

[ 本帖最后由 hcdoo6tsdl 于 2016-5-6 09:32 编辑 ]

本帖子中包含更多资源

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

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


日志里有个2016-05-05T07:29:59.866426Z 0 [ERROR] Plugin keyring_file reported: 'keyring_file initialization failure. Please check if the keyring_file_data points to readable keyring file or keyring file can be created in the specified location. The keyring_file will stay unusable until correct path to the keyring file gets provided'
的错误,这个在我们的测试中这个应该是不影响的,可以通过修改/etc/my.cnf 文件,在[mysqld]段中加入early-plugin-load = ""解决

再传lnmp安装日志看看
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-5-6 09:33:10 | 显示全部楼层

回复 2# 的帖子


军哥 lnmp的安装日志传了  帮忙看看
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-5-6 10:41:08 | 显示全部楼层

回复 3# 的帖子




可以按2楼方法修改配置试试看

看mysql端口是开了,ps aux|grep mysql|grep -v grep 看有mysql进程吗?

登陆不上提示什么信息?

另外可以卸载后重新安装mysql 5.7别禁用innodb
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-4-23 19:22 , Processed in 0.027868 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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