禅道Mysql服务总是自动停止

回贴
回帖数 1
阅读数 653
发表时间 2024-01-12 16:42:45
🦅
空虚的大熊猫 楼主

mysql服务启动后,不到1min会自动停止掉,开启debug模式后面显示报错信息如下:

16:36:26 ERROR: SQLSTATE[HY000] [2002] 由于目标计算机积极拒绝,无法连接。
in framework\base\router.class.php on line 2915, last called by framework\base\router.class.php on line 2823 through function connectByPDO.
in D:\ZenTao\app\zentao\framework\base\router.class.php on line 2988 when visiting

Fatal error: Uncaught EndResponseException in D:\ZenTao\app\zentao\framework\base\router.class.php:3419 Stack trace: #0 D:\ZenTao\app\zentao\framework\helper.class.php(323): EndResponseException::create('') #1 D:\ZenTao\app\zentao\framework\base\router.class.php(3098): helper::end() #2 D:\ZenTao\app\zentao\framework\router.class.php(350): baseRouter->saveError(256, 'ERROR: SQLSTATE...', 'D:\\ZenTao\\app\\z...', 2988) #3 [internal function]: router->saveError(256, 'ERROR: SQLSTATE...', 'D:\\ZenTao\\app\\z...', 2988, Array) #4 D:\ZenTao\app\zentao\framework\base\router.class.php(2988): trigger_error('ERROR: SQLSTATE...', 256) #5 D:\ZenTao\app\zentao\framework\base\router.class.php(2915): baseRouter->triggerError('SQLSTATE[HY000]...', 'D:\\ZenTao\\app\\z...', 2823, true) #6 D:\ZenTao\app\zentao\framework\base\router.class.php(2823): baseRouter->connectByPDO(Object(stdClass), 'MASTER') #7 D:\ZenTao\app\zentao\framework\base\router.class.php(424): baseRouter->connectDB() #8 D:\ZenTao\app\zentao\framework\base\router.class.php( in D:\ZenTao\app\zentao\framework\base\router.class.php on line 3419

16:36:26 Uncaught EndResponseException in D:\ZenTao\app\zentao\framework\base\router.class.php:3419
Stack trace:
#0 D:\ZenTao\app\zentao\framework\helper.class.php(323): EndResponseException::create('')
#1 D:\ZenTao\app\zentao\framework\base\router.class.php(3098): helper::end()
#2 D:\ZenTao\app\zentao\framework\router.class.php(350): baseRouter->saveError(256, 'ERROR: SQLSTATE...', 'D:\\ZenTao\\app\\z...', 2988)
#3 [internal function]: router->saveError(256, 'ERROR: SQLSTATE...', 'D:\\ZenTao\\app\\z...', 2988, Array)
#4 D:\ZenTao\app\zentao\framework\base\router.class.php(2988): trigger_error('ERROR: SQLSTATE...', 256)
#5 D:\ZenTao\app\zentao\framework\base\router.class.php(2915): baseRouter->triggerError('SQLSTATE[HY000]...', 'D:\\ZenTao\\app\\z...', 2823, true)
#6 D:\ZenTao\app\zentao\framework\base\router.class.php(2823): baseRouter->connectByPDO(Object(stdClass), 'MASTER')
#7 D:\ZenTao\app\zentao\framework\base\router.class.php(424): baseRouter->connectDB()
#8 D:\ZenTao\app\zentao\framework\base\router.class.php( in D:\ZenTao\app\zentao\framework\base\router.class.php on line 3419 when visiting

Fatal error: Uncaught EndResponseException in D:\ZenTao\app\zentao\framework\base\router.class.php:3419 Stack trace: #0 D:\ZenTao\app\zentao\framework\helper.class.php(323): EndResponseException::create('') #1 D:\ZenTao\app\zentao\framework\base\router.class.php(3098): helper::end() #2 D:\ZenTao\app\zentao\framework\router.class.php(350): baseRouter->saveError(1, 'Uncaught EndRes...', 'D:\\ZenTao\\app\\z...', 3419) #3 D:\ZenTao\app\zentao\framework\base\router.class.php(2954): router->saveError(1, 'Uncaught EndRes...', 'D:\\ZenTao\\app\\z...', 3419) #4 [internal function]: baseRouter->shutdown() #5 {main} thrown in D:\ZenTao\app\zentao\framework\base\router.class.php on line 3419


哪位同学有遇到过?我该向哪个方向解决

1个回复
🍉
禅道 - 闫敏 沙发

D:\ZenTao\app\zentao\tmp\backup 目录下的备份文件有吗? 
另外可以看看这个文档: 
https://blog.csdn.net/zjy660358/article/details/122363679
https://blog.51cto.com/legehappy/2119514

2024-01-12 17:19:32 禅道 - 闫敏 回帖
联系人
刘斌/高级客户经理
电话(微信)
17685869372
QQ号码
526288068
联系邮箱
liubin@chandao.com
返回顶部
刘斌
高级客户经理
17685869372
526288068
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。 问题反馈反馈点击这里,让我们聆听您的建议与反馈。