SHOW PROCESSLIST in MySQL command: sleep

It’s not a query waiting for connection; it’s a connection pointer waiting for the timeout to terminate. It doesn’t have an impact on performance. The only thing it’s using is a few bytes as every connection does. The really worst case: It’s using one connection of your pool; If you would connect multiple times via … Read more

How can I stop a running MySQL query?

mysql> show processlist; +—-+——+———–+—–+———+——+———————+——————————+———-+ | Id | User | Host | db | Command | Time | State | Info | Progress | +—-+——+———–+—–+———+——+———————+——————————+———-+ | 14 | usr1 | localhost | db1 | Query | 0 | starting | show processlist | 0.000 | | 16 | usr1 | localhost | db1 | Query | … Read more

error code: 521