NUMBER OF CONNECTION ATTENPT – NUMBER OF UNSUCCESSFUL CONNECTION
= 成功した接続
接続ATTEMPT
+—————+—————-+
| Variable_name | Value |
+—————+—————-+
| Connections | 8 |
+—————+—————-+
接続失敗
+——————+—————–+
| Variable_name | Value |
+——————+—————–+
| Aborted_connects | 2 |
+——————+—————–+
8 - 2 = 6つの接続が成功
あまりにもABORTが多い場合は、ネットワーク、権限まわりを確認したほうが良いかも。
接続が不適切にCLOSEされたりKILLされたCONNECTION数
mysql> show status like ‘Aborted_clients’;
+—————–+——-+
| Variable_name | Value |
+—————–+——-+
| Aborted_clients | 0 |
+—————–+——-+
1 row in set (0.00 sec)
mysql>
Connections – Aborted_connects – Aborted_clients = 接続が適切にCLOSEされた数
※ アプリケーションなどの接続がきちんとCLOSEしているか確認した方が良いかな。