Closed jenokizm closed 3 years ago
i need this too i need to close mysql when i have long php execute
我也需要这个,当我长时间执行php时,我需要关闭mysql
$database->pdo=null;
Destructing the $database->pdo
or the Medoo object is the right way to close the connection.
For example, I want to write a delay function before some bot answers to a user, but at the same time so as not to block an unnecessary connection.
how to do it?