当前位置:网站首页>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
边栏推荐
- 【数据中台】数据中台的OneID是个什么鬼,主数据它不香吗?
- How do super rookies get started with data analysis?
- Use PHP script to view the opened extensions
- ECSHOP product attribute color specification size stock item No. automatic combination
- What is principal component analysis? Dimension reduction of classical case analysis variables
- Fun pocket mall -- sharing the development source code of fun pocket app system
- A commonly used statistical modeling method -- difference analysis
- 实现领域驱动设计 - 使用ABP框架 - 系列文章汇总
- The whole page turns gray
- An easy-to-use seal design tool - (can be converted to ofd file)
猜你喜欢

Découvrir gaussdb (pour redis): une comparaison complète avec Codis

Uncover gaussdb (for redis): comprehensive comparison of CODIS

什么是Flink?Flink能用来做什么?
![[regression analysis] understand ridge regression with case teaching](/img/95/91f6f2a018b8d320945b12562492eb.jpg)
[regression analysis] understand ridge regression with case teaching

Upgrade opsenssh to 8.8p1

15. Notes on the button style of WPF

Happy shopkeeper source code -- Introduction to happy shopkeeper system development mode

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

A set of automated paperless office system (oa+ approval process) source code: with data dictionary

19. Implementation of MVVM architecture based on WPF event to command
随机推荐
The first techo day Tencent technology open day in 2022 will be held online on June 28
ECSHOP commodity page multi-attribute batch purchase plug-ins ECSHOP wholesale plug-ins multi-attribute order placing, multi-attribute batch purchase of commodities
Spicy food advertising e-commerce system development function and spicy food advertising e-commerce app system development source code sharing
Execution order of MySQL query statements join, on and where
20、wpf之MVVM命令绑定
Implementing Domain Driven Design - using the ABP framework - Summary of a series of articles
R语言caTools包进行数据划分、scale函数进行数据缩放、e1071包的naiveBayes函数构建朴素贝叶斯模型
How to use ARIMA model for prediction?
ARM V7 连续加载/存储
If you also want to be we media, you might as well listen to Da Zhou's advice
An article clearly explains MySQL's clustering / Federation / coverage index, back to table, and index push down
Web project development process
Arm V7 coprocessor
ARM V7 ldr str 内存访问
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
Mysql database logs binlog save aging (expire\u logs\u days)
揭秘GaussDB(for Redis):全面對比Codis
Mpai data science platform SVM support vector machine classification \ explanation of regression parameter adjustment
[论]Learning Dynamic and Hierarchical Traffic Spatiotemporal Features with Transformer
JS monitors the width and height changes of div