1
select * from performance_schema.threads
2
where name like 'Thread/%' limit 1;
3
select * from performance_schema.threads
5
insert into performance_schema.threads
6
set name='FOO', thread_id=1, processlist_id=2;
7
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'threads'
8
update performance_schema.threads
10
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'threads'
11
update performance_schema.threads
12
set thread_id=12 where name like "FOO";
13
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'threads'
14
delete from performance_schema.threads
16
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'threads'
17
delete from performance_schema.threads;
18
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'threads'
19
LOCK TABLES performance_schema.threads READ;
20
ERROR 42000: SELECT,LOCK TABL command denied to user 'root'@'localhost' for table 'threads'
22
LOCK TABLES performance_schema.threads WRITE;
23
ERROR 42000: SELECT,LOCK TABL command denied to user 'root'@'localhost' for table 'threads'