mysql find long running queries code example Example: mysql show long running queries show processlist;