1. 상태 보기
show processlist;MariaDB [data]> show processlist;
+------+------+-------------------+------------+---------+-------+-------+------------------+----------+
| Id | User | Host | db | Command | Time | State | Info | Progress |
+------+------+-------------------+------------+---------+-------+-------+------------------+----------+
| 99 | root | 127.0.0.1:37654 | saintdb | Sleep | 1 | | NULL | 0.000 |
2. lock 해제
id를 가지고 kill 하면 된다.kill 99;
댓글
댓글 쓰기