TP5 [10501]SQLSTATE[HY000]: General error: 2006 MySQL server has gone away [thinkphp]
[10501]SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
application/database.php 增加数据库断线重连配置
//断线重连
'break_reconnect' => true,
[10501]SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
application/database.php 增加数据库断线重连配置
//断线重连
'break_reconnect' => true,