当前位置:网站首页>Error while sending STMT_ PREPARE packet. PID=29294
Error while sending STMT_ PREPARE packet. PID=29294
2022-06-25 12:30:00 【Chafferer WANG】
The error reporting scenario is , Use TP6 Of command command + linux Of nohup Execute continuous script .
The reason for the error : The connection to the database will be disconnected for a long time
The detailed error information is as follows
[think\exception\ErrorException]
Error while sending STMT_PREPARE packet. PID=29294
PHP Fatal error: Uncaught think\exception\ErrorException: Error while sending STMT_CLOSE packet. PID=29294 in /....../vendor/topthink/think-orm/src/db/PDOConnection.php:603
Stack trace:
#0 /....../vendor/topthink/think-orm/src/db/PDOConnection.php(603): think\initializer\Error->appError(2, 'Error while sen...', '/...', 603, Array)
#1 /....../topthink/think-orm/src/db/PDOConnection.php(1576): think\db\PDOConnection->free()
#2 /....../vendor/topthink/think-orm/src/db/Connection.php(345): think\db\PDOConnection->close()
#3 [internal function]: think\db\Connection->__destruct()
#4 {main}
thrown in /....../vendor/topthink/think-orm/src/db/PDOConnection.php on line 603
terms of settlement :
Modify the database configuration file database.php , Set to true, Turn on disconnection reconnection
// Whether it needs to be disconnected and reconnected
'break_reconnect' => true,
If the error message still appears after the above configuration , It is recommended to use try catch Handling exceptions , Prevent program termination due to error reporting
边栏推荐
- 图片打标签之获取图片在ImageView中的坐标
- 一款好用的印章设计工具 --(可转为ofd文件)
- Disconnected: No supported authentication methods available (server sent: )
- ECSHOP product attribute color specification size stock item No. automatic combination
- 19、wpf之事件转命令实现MVVM架构
- Introduction to jiuhongtianxia system development function -- jiuhongtianxia app development source code sharing
- apple 为什么要改 objc_msgSend 的类型申明
- Explain factor analysis in simple terms, with case teaching (full)
- [regression analysis] understand ridge regression with case teaching
- The dist function of R language calculates the distance between two samples in dataframe data, returns the distance matrix between samples, and specifies the distance calculation method through the me
猜你喜欢

The source code of the hottest online disk money making system in 2022 imitates Lanzou online disk / Chengtong online disk / sharing money making cloud disk system / online disk VIP Download System

15、wpf之button样式小记

How to use SPSS to do grey correlation analysis? Quick grasp of hand-to-hand Teaching

19. Implementation of MVVM architecture based on WPF event to command

Installation and removal of MySQL under Windows

揭秘GaussDB(for Redis):全面對比Codis

What is principal component analysis? Dimension reduction of classical case analysis variables

An article clearly explains MySQL's clustering / Federation / coverage index, back to table, and index push down

ECSHOP commodity wholesale multi attribute multi specification multi inventory batch purchase ECSHOP wholesale plug-in ECSHOP multi attribute order

一篇文章讲清楚MySQL的聚簇/联合/覆盖索引、回表、索引下推
随机推荐
Thinkphp3 use phpword to modify the template and download it
The dist function of R language calculates the distance between two samples in dataframe data, returns the distance matrix between samples, and specifies the distance calculation method through the me
ECSHOP video list_ ECSHOP uploading video, video classification, video list playing video function
Pycaret successfully resolved the problem that 'sklearn model_ selection._ Search 'import name "\u check\u param\u grid"
Introduction to jiuhongtianxia system development function -- jiuhongtianxia app development source code sharing
ThinkPHP upload image compression size
2022 meisai D topic ideas sharing + translation
Install MySQL client
R语言使用glm函数构建泊松对数线性回归模型处理三维列联表数据构建饱和模型、epiDisplay包的poisgof函数对拟合的泊松回归模型进行拟合优度检验(检验模型效果)
thinkphp3.2.5 GIF. class. php for php7.4
一篇文章讲清楚MySQL的聚簇/联合/覆盖索引、回表、索引下推
An example of using dynamic datalist
R language uses the multinom function of NNET package to build an unordered multi classification logistic regression model, and uses the lrtest function of epidisplay package to perform multiple model
A set of automated paperless office system (oa+ approval process) source code: with data dictionary
Zhengzheng e-commerce source code -- Zhengzheng advertising e-commerce system development source code sharing
15. Notes on the button style of WPF
ECSHOP whole site custom URL supports directory type
Arm V7 continuous load / store
Development with courtesy -- share the source code of the secondary development of the app system of the imitation shopping mall
揭秘GaussDB(for Redis):全面對比Codis