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
THREAD_ID NAME TYPE PROCESSLIST_ID PROCESSLIST_USER PROCESSLIST_HOST PROCESSLIST_DB PROCESSLIST_COMMAND PROCESSLIST_TIME PROCESSLIST_STATE PROCESSLIST_INFO PARENT_THREAD_ID ROLE INSTRUMENTED
4
+
# # # # # # # # # # # # # #
5
+
select * from performance_schema.THREADS
6
+
where name='FOO';
7
+
THREAD_ID NAME TYPE PROCESSLIST_ID PROCESSLIST_USER PROCESSLIST_HOST PROCESSLIST_DB PROCESSLIST_COMMAND PROCESSLIST_TIME PROCESSLIST_STATE PROCESSLIST_INFO PARENT_THREAD_ID ROLE INSTRUMENTED
8
+
insert into performance_schema.THREADS
9
+
set name='FOO', thread_id=1, processlist_id=2;
10
+
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'THREADS'
11
+
update performance_schema.THREADS
12
+
set thread_id=12;
13
+
ERROR HY000: Invalid performance_schema usage.
14
+
update performance_schema.THREADS
15
+
set thread_id=12 where PROCESSLIST_ID=connection_id();
16
+
ERROR HY000: Invalid performance_schema usage.
17
+
update performance_schema.THREADS
18
+
set instrumented= 'NO' where PROCESSLIST_ID=connection_id();
19
+
select instrumented from performance_schema.THREADS
20
+
where PROCESSLIST_ID=connection_id();
21
+
instrumented
22
+
NO
23
+
update performance_schema.THREADS
24
+
set instrumented= 'YES' where PROCESSLIST_ID=connection_id();
25
+
select instrumented from performance_schema.THREADS
26
+
where PROCESSLIST_ID=connection_id();
27
+
instrumented
28
+
YES
29
+
delete from performance_schema.THREADS
30
+
where id=1;
31
+
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'THREADS'
32
+
delete from performance_schema.THREADS;
33
+
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'THREADS'
0 commit comments