mailes 发表于 2015-6-22 21:17:46

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

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 Recovering after a crash using mysql-bin
150622 21:09:51 Starting crash recovery...
150622 21:09:51 Crash recovery finished.
150622 21:09:51 Server hostname (bind-address): '0.0.0.0'; port: 3306
150622 21:09:51 - '0.0.0.0' resolves to '0.0.0.0';
150622 21:09:51 Server socket created on IP: '0.0.0.0'.
150622 21:09:51 'user' entry 'root@li1173-73.members.linode.com' ignored in --skip-name-resolve mode.
150622 21:09:51 'proxies_priv' entry '@ root@li1173-73.members.linode.com' ignored in --skip-name-resolve mode.
150622 21:09:51 Event Scheduler: Loaded 0 events
150622 21:09:51 /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 Recovering after a crash using mysql-bin
150622 21:10:14 Starting crash recovery...
150622 21:10:14 Crash recovery finished.
150622 21:10:14 Server hostname (bind-address): '0.0.0.0'; port: 3306
150622 21:10:14 - '0.0.0.0' resolves to '0.0.0.0';
150622 21:10:14 Server socket created on IP: '0.0.0.0'.
150622 21:10:14 'user' entry 'root@li1173-73.members.linode.com' ignored in --skip-name-resolve mode.
150622 21:10:14 'proxies_priv' entry '@ root@li1173-73.members.linode.com' ignored in --skip-name-resolve mode.
150622 21:10:14 Event Scheduler: Loaded 0 events
150622 21:10:14 /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.5.37-log' socket: '/tmp/mysql.sock' port: 3306 Source distribution

mailes 发表于 2015-6-22 21:19:48

按照网上的各种方法搞了一天了,还是不行,不知道哪里原因了。快累死了。

licess 发表于 2015-6-23 09:12:32

修改/etc/my.cnf里面的max_connections为100 重启mysql看看
页: [1]
查看完整版本: 泪奔,论坛打开就报Discuz! Database Error (2002) notconnect