VPS侦探论坛

 找回密码
 注册
查看: 4064|回复: 2

泪奔,论坛打开就报Discuz! Database Error (2002) notconnect

[复制链接]
发表于 2015-6-22 21:17:46 | 显示全部楼层 |阅读模式

mysql 日志报错
Version: '5.5.37-log' socket: '/tmp/mysql.sock' port: 3306 Source distribution
150622 21:09:40 mysqld_safe Number of processes running now: 0
150622 21:09:40 mysqld_safe mysqld restarted
150622 21:09:48 InnoDB: The InnoDB memory heap is disabled
150622 21:09:48 InnoDB: Mutexes and rw_locks use GCC atomic builtins
150622 21:09:48 InnoDB: Compressed tables use zlib 1.2.7
150622 21:09:48 InnoDB: Initializing buffer pool, size = 16.0M
150622 21:09:49 InnoDB: Completed initialization of buffer pool
150622 21:09:50 InnoDB: highest supported file format is Barracuda.
150622 21:09:50 InnoDB: Waiting for the background threads to start
150622 21:09:51 InnoDB: 5.5.37 started; log sequence number 1595675
150622 21:09:51 [Note] Recovering after a crash using mysql-bin
150622 21:09:51 [Note] Starting crash recovery...
150622 21:09:51 [Note] Crash recovery finished.
150622 21:09:51 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
150622 21:09:51 [Note] - '0.0.0.0' resolves to '0.0.0.0';
150622 21:09:51 [Note] Server socket created on IP: '0.0.0.0'.
150622 21:09:51 [Warning] 'user' entry 'root@li1173-73.members.linode.com' ignored in --skip-name-resolve mode.
150622 21:09:51 [Warning] 'proxies_priv' entry '@ root@li1173-73.members.linode.com' ignored in --skip-name-resolve mode.
150622 21:09:51 [Note] Event Scheduler: Loaded 0 events
150622 21:09:51 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.5.37-log' socket: '/tmp/mysql.sock' port: 3306 Source distribution
150622 21:10:12 mysqld_safe Number of processes running now: 0
150622 21:10:12 mysqld_safe mysqld restarted
150622 21:10:13 InnoDB: The InnoDB memory heap is disabled
150622 21:10:13 InnoDB: Mutexes and rw_locks use GCC atomic builtins
150622 21:10:13 InnoDB: Compressed tables use zlib 1.2.7
150622 21:10:13 InnoDB: Initializing buffer pool, size = 16.0M
150622 21:10:13 InnoDB: Completed initialization of buffer pool
150622 21:10:13 InnoDB: highest supported file format is Barracuda.
150622 21:10:13 InnoDB: Waiting for the background threads to start
150622 21:10:14 InnoDB: 5.5.37 started; log sequence number 1595675
150622 21:10:14 [Note] Recovering after a crash using mysql-bin
150622 21:10:14 [Note] Starting crash recovery...
150622 21:10:14 [Note] Crash recovery finished.
150622 21:10:14 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
150622 21:10:14 [Note] - '0.0.0.0' resolves to '0.0.0.0';
150622 21:10:14 [Note] Server socket created on IP: '0.0.0.0'.
150622 21:10:14 [Warning] 'user' entry 'root@li1173-73.members.linode.com' ignored in --skip-name-resolve mode.
150622 21:10:14 [Warning] 'proxies_priv' entry '@ root@li1173-73.members.linode.com' ignored in --skip-name-resolve mode.
150622 21:10:14 [Note] Event Scheduler: Loaded 0 events
150622 21:10:14 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.5.37-log' socket: '/tmp/mysql.sock' port: 3306 Source distribution
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2015-6-22 21:19:48 | 显示全部楼层


按照网上的各种方法搞了一天了,还是不行,不知道哪里原因了。快累死了。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2015-6-23 09:12:32 | 显示全部楼层

修改/etc/my.cnf里面的max_connections为100 重启mysql看看
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-27 23:30 , Processed in 0.026086 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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