ThingEngineer / PHP-MySQLi-Database-Class

Wrapper for a PHP MySQL class, which utilizes MySQLi and prepared statements.
Other
3.3k stars 1.34k forks source link

Many aborted clients #923

Open blood73 opened 4 years ago

blood73 commented 4 years ago

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.