tp5.1.34 Swoole下总是提示连接重置错误

浏览:1345 发布日期:2019/02/18 分类:ThinkPHP5专区
在swoole下,日志中总是提示Pdo连接被重置, 帮忙分析下什么问题
[8]PDO::prepare(): send of 132 bytes failed with errno=104 Connection reset by peer[/thinkphp/library/think/db/Connection.php:734]
error
[ error ] [2]Error while sending STMT_PREPARE packet. PID=116645[thinkphp/library/think/db/Connection.php:734]
error

查看了文件,定位到这个
// 预处理
$this->PDOStatement = $this->linkID->prepare($sql);

最佳答案
评论() 相关
后面还有条评论,点击查看>>