PHP-MySQLi-Database-Class
PHP-MySQLi-Database-Class copied to clipboard
Many aborted clients
I used InnoDB and MariaDB. In PHPMyAdmin I can see:
Aborted clients | 208 k | The number of connections that were aborted because the client died without closing the connection properly.
What I can do with this?
I used this class like this:
$this->db = MysqliDb::getInstance();
some requests, for example
$car_data = $this->db->where('vin', $this->vin)
->getOne(TABLE_CAR_INFO, null);
So, do I need to run disconnect method? Or any other logic for decrease aborted clients.