没有mysql.sock文件 MY配置正常 数据库启动页是正常
http://198.55.103.97/00.jpg显示都按照成功了,
No package iptables-services available.
Error: Nothing to do
iptables: Saving firewall rules to /etc/sysconfig/iptables:
Add iptables service at system startup...
Add Startup and Starting LAMP...
Add httpd service at system startup...
start apache...done
Add mysql service at system startup...
Starting MySQL.231226 23:14:16 mysqld_safe --malloc-lib can not be read and will not be used
ERROR! The server quit without updating PID file (/usr/local/mysql/var/C20230823195747.local.pid).
Apache: OK
MySQL: OK
PHP: OK
Clean Web Server src directory...
+------------------------------------------------------------------------+
| LNMP V2.0 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 |
+------------------------------------------------------------------------+
但是数据库 是无法连接上去,服务器都找了木有mysql.sock文件 my 文件也是 /tmp/mysql.sock 这个配置
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| https://lnmp.org |
+-------------------------------------------+
Apache is running.
ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists
State Recv-Q Send-Q Local Address:Port Peer Address:Port
LISTEN 0 128 :::9765 :::*
LISTEN 0 128 *:9765 *:*
LISTEN 0 128 :::80 :::*
Install lnmp takes 57 minutes.
Install lnmp V2.0 completed! enjoy it.
# mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
#
需要提供安装日志或者mysql日志
页:
[1]