| 1 |
select * from performance_schema.global_variables |
| 2 |
where variable_name like 'autocommit%' limit 1; |
| 3 |
select * from performance_schema.global_variables |
| 4 |
where variable_name='FOO'; |
| 5 |
insert into performance_schema.global_variables |
| 6 |
set variable_name='FOO', variable_value='BAR'; |
| 7 |
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'global_variables' |
| 8 |
update performance_schema.global_variables |
| 9 |
set variable_name='FOO', variable_value='BAR'; |
| 10 |
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'global_variables' |
| 11 |
delete from performance_schema.global_variables |
| 12 |
where variable_name <> 'FOO'; |
| 13 |
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'global_variables' |
| 14 |
delete from performance_schema.global_variables; |
| 15 |
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'global_variables' |
| 16 |
LOCK TABLES performance_schema.global_variables READ; |
| 17 |
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'global_variables' |
| 18 |
UNLOCK TABLES; |
| 19 |
LOCK TABLES performance_schema.global_variables WRITE; |
| 20 |
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'global_variables' |
| 21 |
UNLOCK TABLES; |