命令行模式下执行出错

浏览:1499 发布日期:2018/03/26 分类:ThinkPHP5专区 关键字: 数据库出错
有这样的
PHP Fatal error: Uncaught think\exception\ErrorException: Error while sending STMT_CLOSE packet. PID=16294 in /usr/local/nginx/html/tp5/thinkphp/library/think/db/Connection.php:316
Stack trace:
#0 /usr/local/nginx/html/tp5/thinkphp/library/think/db/Connection.php(316): think\Error::appError(2, 'Error while sen...', '/usr/local/ngin...', 316, Array)
#1 /usr/local/nginx/html/tp5/thinkphp/library/think/db/Connection.php(1048): think\db\Connection->free()
#2 [internal function]: think\db\Connection->__destruct()
#3 {main}
thrown in /usr/local/nginx/html/tp5/thinkphp/library/think/db/Connection.php on line 316


还有这样的
[think\exception\ErrorException]
Error while sending STMT_CLOSE packet. PID=5832



Exception trace:
() at /usr/local/nginx/html/tp5/thinkphp/library/think/db/Connection.php:316
think\Error::appError() at /usr/local/nginx/html/tp5/thinkphp/library/think/db/Connection.php:316
think\db\Connection->free() at /usr/local/nginx/html/tp5/thinkphp/library/think/db/Connection.php:364
think\db\Connection->query() at /usr/local/nginx/html/tp5/thinkphp/library/think/db/Query.php:227
think\db\Query->query() at /usr/local/nginx/html/tp5/thinkphp/library/think/db/Query.php:2289
think\db\Query->getPdo() at /usr/local/nginx/html/tp5/thinkphp/library/think/db/Query.php:413
think\db\Query->value() at /usr/local/nginx/html/tp5/thinkphp/library/think/db/Query.php:519
think\db\Query->count() at n/a:n/a
call_user_func_array() at /usr/local/nginx/html/tp5/thinkphp/library/think/Model.php:2146
think\Model->__call() at /usr/local/nginx/html/tp5/application/awy/model/Awy.php:24



怎么解决呀thinkphp5.0.15
最佳答案
评论( 相关
后面还有条评论,点击查看>>