VPS侦探论坛

 找回密码
 注册
查看: 7540|回复: 1

lnmpa安装完后,MYSQL无法连接,求助!

[复制链接]
发表于 2011-7-6 23:38:11 | 显示全部楼层 |阅读模式

lnmpa安装完后,MYSQL无法连接,求助!
命令下连接MYSQL出现:Can't connect to local MySQL server through socket '/tmp/mysql.sock'(2)
查找了TMP下没有MYSQL.SOCK这个文件,网上找了N久还没有找到解决方法。
日志如下:
110706 21:34:47 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110706 21:34:48 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
110706 21:34:48 [ERROR] Do you already have another mysqld server running on port: 3306 ?
110706 21:34:48 [ERROR] Aborting

110706 21:34:48 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

110706 21:34:48 mysqld_safe mysqld from pid file /usr/local/mysql/var/wztx.net.pid ended
110706 21:34:49 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110706 21:34:49 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
110706 21:34:49 [ERROR] Do you already have another mysqld server running on port: 3306 ?
110706 21:34:49 [ERROR] Aborting

110706 21:34:49 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

110706 21:34:49 mysqld_safe mysqld from pid file /usr/local/mysql/var/wztx.net.pid ended
110706 21:44:26 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110706 21:44:27 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
110706 21:44:27 [ERROR] Do you already have another mysqld server running on port: 3306 ?
110706 21:44:27 [ERROR] Aborting

110706 21:44:27 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

110706 21:44:27 mysqld_safe mysqld from pid file /usr/local/mysql/var/wztx.net.pid ended
110706 21:44:31 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110706 21:44:32 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
110706 21:44:32 [ERROR] Do you already have another mysqld server running on port: 3306 ?
110706 21:44:32 [ERROR] Aborting

110706 21:44:32 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

110706 21:44:32 mysqld_safe mysqld from pid file /usr/local/mysql/var/wztx.net.pid ended
110706 22:11:11 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110706 22:11:11 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
110706 22:11:11 [ERROR] Do you already have another mysqld server running on port: 3306 ?
110706 22:11:11 [ERROR] Aborting

110706 22:11:11 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

110706 22:11:11 mysqld_safe mysqld from pid file /usr/local/mysql/var/wztx.net.pid ended
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2011-7-7 09:47:12 | 显示全部楼层


已经有mysql在运行或者mysql端口被占用。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-27 00:13 , Processed in 0.025464 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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