tp5中使用workerman在cli下运行后每隔一段时间报错,数据库写入失败。重启workerman后过段时间又会有相同的错误;
以下是报错信息:
exception 'think\exception\ErrorException' with message 'Error while sending STMT_CLOSE packet. PID=9908' in E:\phpstudy\phpStudy\WWW\thinkphp5\thinkphp\library\think\db\Connection.php:316
请教下如何解决?