-
Notifications
You must be signed in to change notification settings - Fork 4k
/
Copy pathadmin_kill_client.result
61 lines (57 loc) · 1.5 KB
/
admin_kill_client.result
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
create user unpriv@localhost;
set password for unpriv@localhost = 'x';
client_id user host sql_session
1 x_root localhost $SESSION
command ok
Got expected error: 'what' is not a valid field for list_clients command (code 5021)
connecting...
active session is now 'aux'
client_id user host sql_session
1 x_root localhost $SESSION
2 x_root localhost $SESSION
command ok
switched to session default
client_id user host sql_session
1 x_root localhost $SESSION
2 x_root localhost $SESSION
command ok
Got expected error: Invalid number of arguments, expected value for 'id' (code 5015)
command ok
Mysqlx.Notice.Frame {
type: 1
payload: "Mysqlx.Notice.Warning { level: ERROR\ncode: 3169\nmsg: \"Session was killed\"\n }"
}
Server disconnected
closing session aux
switched to session default
client_id user host sql_session
1 x_root localhost $SESSION
command ok
connecting...
active session is now 'unpriv'
Should list unprivs session only
client_id user host sql_session
3 unpriv localhost $SESSION
command ok
Got expected error: You are not owner of thread (code 1095)
switched to session default
client_id user host sql_session
1 x_root localhost $SESSION
3 unpriv localhost $SESSION
command ok
command ok
Mysqlx.Notice.Frame {
type: 1
payload: "Mysqlx.Notice.Warning { level: ERROR\ncode: 3169\nmsg: \"Session was killed\"\n }"
}
Server disconnected
closing session unpriv
switched to session default
client_id user host sql_session
1 x_root localhost $SESSION
command ok
Mysqlx.Ok {
msg: "bye!"
}
ok
drop user unpriv@localhost;