Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

mysqlprocgrep ERROR: Unread result found #35

Open
slowtech opened this issue Jul 13, 2018 · 0 comments
Open

mysqlprocgrep ERROR: Unread result found #35

slowtech opened this issue Jul 13, 2018 · 0 comments

Comments

@slowtech
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant