已解決 使用一段時間后掛了

頁面提示錯誤:

14:07:29 ERROR: SQLSTATE[HY000] [2002] Connection refused in /opt/zbox/app/zentao/framework/base/router.class.php on line 2164, last called by /opt/zbox/app/zentao/framework/base/router.class.php on line 2115 through function connectByPDO.
in  /opt/zbox/app/zentao/framework/base/router.class.php  on line  2215  when visiting 

禪道版本 11.5 源碼包
操作系統 Ubuntu
客戶端瀏覽器 Chrome

提問者: 大樟樹 懸賞: 5 日期: 2019-05-27 14:09:29 答案:1 點擊:299
設置備注
答案列表
2019/05/27

ps -ef | grep mysql看下mysql服務還正常啟動著嗎?

/opt/zbox/logs下看下有mysql的日志嗎?

有對mysql做過什么配置嗎?

2019/05/27
mysql不能正常啟動,mysql沒改什么配置,用的默認配置,下面是查看mysql日志
[email protected]_ecu:/opt/zbox/logs$ cat mysql_error.log
2019-03-25 20:36:07 0 [Note] InnoDB: Using Linux native AIO
2019-03-25 20:36:07 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2019-03-25 20:36:07 0 [Note] InnoDB: Uses event mutexes
2019-03-25 20:36:07 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-03-25 20:36:07 0 [Note] InnoDB: Number of pools: 1
2019-03-25 20:36:07 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-03-25 20:36:07 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2019-03-25 20:36:07 0 [Note] InnoDB: Completed initialization of buffer pool
2019-03-25 20:36:07 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2019-03-25 20:36:07 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-03-25 20:36:07 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-03-25 20:36:07 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-03-25 20:36:07 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2019-03-25 20:36:07 0 [Note] InnoDB: 10.3.13 started; log sequence number 1630815; transaction id 21
2019-03-25 20:36:07 0 [Note] InnoDB: Loading buffer pool(s) from /opt/zbox/data/mysql/ib_buffer_pool
2019-03-25 20:36:07 0 [Note] InnoDB: Buffer pool(s) load completed at 190325 20:36:07
2019-03-25 20:36:07 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-03-25 20:36:07 0 [Note] Server socket created on IP: '127.0.0.1'.
2019-03-25 20:36:07 0 [Note] Reading of all Master_info entries succeded
2019-03-25 20:36:07 0 [Note] Added new Master_info '' to hash table
2019-03-25 20:36:07 0 [Note] /opt/zbox/run/mysql/mysqld: ready for connections.
Version: '10.3.13-MariaDB' socket: '/opt/zbox/tmp/mysql/mysql.sock' port: 3306 Source distribution
2019-03-25 20:36:11 0 [Note] /opt/zbox/run/mysql/mysqld (initiated by: unknown): Normal shutdown
2019-03-25 20:36:11 0 [Note] InnoDB: FTS optimize thread exiting.
2019-03-25 20:36:11 0 [Note] Event Scheduler: Purging the queue. 0 events
2019-03-25 20:36:11 0 [Note] InnoDB: Starting shutdown...
2019-03-25 20:36:11 0 [Note] InnoDB: Dumping buffer pool(s) to /opt/zbox/data/mysql/ib_buffer_pool
2019-03-25 20:36:11 0 [Note] InnoDB: Buffer pool(s) dump completed at 190325 20:36:11
2019-03-25 20:36:12 0 [Note] InnoDB: Shutdown completed; log sequence number 1630824; transaction id 22
2019-03-25 20:36:12 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2019-03-25 20:36:12 0 [Note] /opt/zbox/run/mysql/mysqld: Shutdown complete
2019/05/28
把 /opt/zbox/data/mysql/ 下面的 ar* ib* mu* tc* 刪除
然后再啟動試一下呢
三肖中特期准黄大仙373745