You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.
[root@node1 ~]# mysqlprocgrep --server=root:123456@localhost --match-command=Query --age=40s
WARNING: Using a password on the command line interface can be insecure.
+------------------------+-------+-------+------------+-------+----------+-------+-------------+-----------------------+
| Connection | Id | User | Host | Db | Command | Time | State | Info |
+------------------------+-------+-------+------------+-------+----------+-------+-------------+-----------------------+
| root:@localhost:3306 | 1670 | root | localhost | None | Query | 554 | User sleep | select sleep(100000) |
| root:@localhost:3306 | 1671 | root | localhost | None | Query | 521 | User sleep | select sleep(10000) |
+------------------------+-------+-------+------------+-------+----------+-------+-------------+-----------------------+
And I tried to kill the connection,it produced error
[root@node1 ~]# mysqlprocgrep --server=root:123456@localhost --match-command=Query --age=40s --kill-connection
WARNING: Using a password on the command line interface can be insecure.
ERROR: Unread result found
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Here it it,
without "--kill-connection" it's working ok,
[root@node1 ~]# mysqlprocgrep --server=root:123456@localhost --match-command=Query --age=40s
WARNING: Using a password on the command line interface can be insecure.
+------------------------+-------+-------+------------+-------+----------+-------+-------------+-----------------------+
| Connection | Id | User | Host | Db | Command | Time | State | Info |
+------------------------+-------+-------+------------+-------+----------+-------+-------------+-----------------------+
| root:@localhost:3306 | 1670 | root | localhost | None | Query | 554 | User sleep | select sleep(100000) |
| root:@localhost:3306 | 1671 | root | localhost | None | Query | 521 | User sleep | select sleep(10000) |
+------------------------+-------+-------+------------+-------+----------+-------+-------------+-----------------------+
And I tried to kill the connection,it produced error
[root@node1 ~]# mysqlprocgrep --server=root:123456@localhost --match-command=Query --age=40s --kill-connection
WARNING: Using a password on the command line interface can be insecure.
ERROR: Unread result found
The text was updated successfully, but these errors were encountered: