mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge branch '10.3' into 10.4
This commit is contained in:
@ -40,10 +40,10 @@ COUNT(DISTINCT PROCESSLIST_ID)
|
||||
connection non_privileged_user;
|
||||
SELECT COUNT(DISTINCT PROCESSLIST_ID)
|
||||
FROM performance_schema.session_account_connect_attrs;
|
||||
ERROR 42000: SELECT command denied to user 'wl5924'@'localhost' for table 'session_account_connect_attrs'
|
||||
ERROR 42000: SELECT command denied to user 'wl5924'@'localhost' for table `performance_schema`.`session_account_connect_attrs`
|
||||
SELECT COUNT(DISTINCT PROCESSLIST_ID)
|
||||
FROM performance_schema.session_connect_attrs;
|
||||
ERROR 42000: SELECT command denied to user 'wl5924'@'localhost' for table 'session_connect_attrs'
|
||||
ERROR 42000: SELECT command denied to user 'wl5924'@'localhost' for table `performance_schema`.`session_connect_attrs`
|
||||
connection default;
|
||||
disconnect non_privileged_user;
|
||||
grant select on performance_schema.* to wl5924@localhost;
|
||||
|
@ -5,23 +5,23 @@ where user='FOO' or host='BAR';
|
||||
insert into performance_schema.accounts
|
||||
set user='FOO', host='BAR',
|
||||
current_connections=1, total_connections=2;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'accounts'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`accounts`
|
||||
update performance_schema.accounts
|
||||
set current_connections=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'accounts'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`accounts`
|
||||
update performance_schema.accounts
|
||||
set current_connections=12 where host like "FOO";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'accounts'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`accounts`
|
||||
delete from performance_schema.accounts
|
||||
where total_connections=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'accounts'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`accounts`
|
||||
delete from performance_schema.accounts;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'accounts'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`accounts`
|
||||
LOCK TABLES performance_schema.accounts READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'accounts'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`accounts`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.accounts WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'accounts'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`accounts`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -3,20 +3,20 @@ select * from performance_schema.cond_instances
|
||||
where name='FOO';
|
||||
insert into performance_schema.cond_instances
|
||||
set name='FOO', object_instance_begin=12;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'cond_instances'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`cond_instances`
|
||||
update performance_schema.cond_instances
|
||||
set name='FOO';
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'cond_instances'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`cond_instances`
|
||||
delete from performance_schema.cond_instances
|
||||
where name like "wait/%";
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'cond_instances'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`cond_instances`
|
||||
delete from performance_schema.cond_instances;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'cond_instances'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`cond_instances`
|
||||
LOCK TABLES performance_schema.cond_instances READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'cond_instances'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`cond_instances`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.cond_instances WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'cond_instances'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`cond_instances`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -6,23 +6,23 @@ insert into performance_schema.events_stages_summary_by_account_by_event_name
|
||||
set event_name='FOO', user='BAR', host='BAZ',
|
||||
count_star=1, sum_timer_wait=2, min_timer_wait=3,
|
||||
avg_timer_wait=4, max_timer_wait=5;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_stages_summary_by_account_by_event_name'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_account_by_event_name`
|
||||
update performance_schema.events_stages_summary_by_account_by_event_name
|
||||
set count_star=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_stages_summary_by_account_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_account_by_event_name`
|
||||
update performance_schema.events_stages_summary_by_account_by_event_name
|
||||
set count_star=12 where event_name like "FOO";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_stages_summary_by_account_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_account_by_event_name`
|
||||
delete from performance_schema.events_stages_summary_by_account_by_event_name
|
||||
where count_star=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_stages_summary_by_account_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_account_by_event_name`
|
||||
delete from performance_schema.events_stages_summary_by_account_by_event_name;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_stages_summary_by_account_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_account_by_event_name`
|
||||
LOCK TABLES performance_schema.events_stages_summary_by_account_by_event_name READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_stages_summary_by_account_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_account_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_stages_summary_by_account_by_event_name WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_stages_summary_by_account_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_account_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -6,23 +6,23 @@ insert into performance_schema.events_stages_summary_by_host_by_event_name
|
||||
set event_name='FOO', thread_id=1,
|
||||
count_star=1, sum_timer_wait=2, min_timer_wait=3,
|
||||
avg_timer_wait=4, max_timer_wait=5;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_stages_summary_by_host_by_event_name'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_host_by_event_name`
|
||||
update performance_schema.events_stages_summary_by_host_by_event_name
|
||||
set count_star=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_stages_summary_by_host_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_host_by_event_name`
|
||||
update performance_schema.events_stages_summary_by_host_by_event_name
|
||||
set count_star=12 where event_name like "FOO";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_stages_summary_by_host_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_host_by_event_name`
|
||||
delete from performance_schema.events_stages_summary_by_host_by_event_name
|
||||
where count_star=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_stages_summary_by_host_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_host_by_event_name`
|
||||
delete from performance_schema.events_stages_summary_by_host_by_event_name;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_stages_summary_by_host_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_host_by_event_name`
|
||||
LOCK TABLES performance_schema.events_stages_summary_by_host_by_event_name READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_stages_summary_by_host_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_host_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_stages_summary_by_host_by_event_name WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_stages_summary_by_host_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_host_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -6,23 +6,23 @@ insert into performance_schema.events_stages_summary_by_thread_by_event_name
|
||||
set event_name='FOO', thread_id=1,
|
||||
count_star=1, sum_timer_wait=2, min_timer_wait=3,
|
||||
avg_timer_wait=4, max_timer_wait=5;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_stages_summary_by_thread_by_event_name'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_thread_by_event_name`
|
||||
update performance_schema.events_stages_summary_by_thread_by_event_name
|
||||
set count_star=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_stages_summary_by_thread_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_thread_by_event_name`
|
||||
update performance_schema.events_stages_summary_by_thread_by_event_name
|
||||
set count_star=12 where event_name like "FOO";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_stages_summary_by_thread_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_thread_by_event_name`
|
||||
delete from performance_schema.events_stages_summary_by_thread_by_event_name
|
||||
where count_star=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_stages_summary_by_thread_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_thread_by_event_name`
|
||||
delete from performance_schema.events_stages_summary_by_thread_by_event_name;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_stages_summary_by_thread_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_thread_by_event_name`
|
||||
LOCK TABLES performance_schema.events_stages_summary_by_thread_by_event_name READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_stages_summary_by_thread_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_thread_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_stages_summary_by_thread_by_event_name WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_stages_summary_by_thread_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_thread_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -6,23 +6,23 @@ insert into performance_schema.events_stages_summary_by_user_by_event_name
|
||||
set event_name='FOO', user='BAR',
|
||||
count_star=1, sum_timer_wait=2, min_timer_wait=3,
|
||||
avg_timer_wait=4, max_timer_wait=5;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_stages_summary_by_user_by_event_name'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_user_by_event_name`
|
||||
update performance_schema.events_stages_summary_by_user_by_event_name
|
||||
set count_star=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_stages_summary_by_user_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_user_by_event_name`
|
||||
update performance_schema.events_stages_summary_by_user_by_event_name
|
||||
set count_star=12 where event_name like "FOO";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_stages_summary_by_user_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_user_by_event_name`
|
||||
delete from performance_schema.events_stages_summary_by_user_by_event_name
|
||||
where count_star=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_stages_summary_by_user_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_user_by_event_name`
|
||||
delete from performance_schema.events_stages_summary_by_user_by_event_name;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_stages_summary_by_user_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_user_by_event_name`
|
||||
LOCK TABLES performance_schema.events_stages_summary_by_user_by_event_name READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_stages_summary_by_user_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_user_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_stages_summary_by_user_by_event_name WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_stages_summary_by_user_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_user_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -5,23 +5,23 @@ where event_name='FOO';
|
||||
insert into performance_schema.events_stages_summary_global_by_event_name
|
||||
set event_name='FOO', count_star=1, sum_timer_wait=2, min_timer_wait=3,
|
||||
avg_timer_wait=4, max_timer_wait=5;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_stages_summary_global_by_event_name'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_global_by_event_name`
|
||||
update performance_schema.events_stages_summary_global_by_event_name
|
||||
set count_star=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_stages_summary_global_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_global_by_event_name`
|
||||
update performance_schema.events_stages_summary_global_by_event_name
|
||||
set count_star=12 where event_name like "FOO";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_stages_summary_global_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_global_by_event_name`
|
||||
delete from performance_schema.events_stages_summary_global_by_event_name
|
||||
where count_star=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_stages_summary_global_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_global_by_event_name`
|
||||
delete from performance_schema.events_stages_summary_global_by_event_name;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_stages_summary_global_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_global_by_event_name`
|
||||
LOCK TABLES performance_schema.events_stages_summary_global_by_event_name READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_stages_summary_global_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_global_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_stages_summary_global_by_event_name WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_stages_summary_global_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_global_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -6,23 +6,23 @@ insert into performance_schema.events_statements_summary_by_account_by_event_nam
|
||||
set event_name='FOO', user='BAR', host='BAZ',
|
||||
count_star=1, sum_timer_wait=2, min_timer_wait=3,
|
||||
avg_timer_wait=4, max_timer_wait=5;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_statements_summary_by_account_by_event_name'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_account_by_event_name`
|
||||
update performance_schema.events_statements_summary_by_account_by_event_name
|
||||
set count_star=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_statements_summary_by_account_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_account_by_event_name`
|
||||
update performance_schema.events_statements_summary_by_account_by_event_name
|
||||
set count_star=12 where event_name like "FOO";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_statements_summary_by_account_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_account_by_event_name`
|
||||
delete from performance_schema.events_statements_summary_by_account_by_event_name
|
||||
where count_star=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_statements_summary_by_account_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_account_by_event_name`
|
||||
delete from performance_schema.events_statements_summary_by_account_by_event_name;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_statements_summary_by_account_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_account_by_event_name`
|
||||
LOCK TABLES performance_schema.events_statements_summary_by_account_by_event_name READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_statements_summary_by_account_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_account_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_statements_summary_by_account_by_event_name WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_statements_summary_by_account_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_account_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -7,23 +7,23 @@ SCHEMA_NAME DIGEST DIGEST_TEXT COUNT_STAR SUM_TIMER_WAIT MIN_TIMER_WAIT AVG_TIME
|
||||
insert into performance_schema.events_statements_summary_by_digest
|
||||
set digest='XXYYZZ', count_star=1, sum_timer_wait=2, min_timer_wait=3,
|
||||
avg_timer_wait=4, max_timer_wait=5;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_statements_summary_by_digest'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_digest`
|
||||
update performance_schema.events_statements_summary_by_digest
|
||||
set count_star=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_statements_summary_by_digest'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_digest`
|
||||
update performance_schema.events_statements_summary_by_digest
|
||||
set count_star=12 where digest like "XXYYZZ";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_statements_summary_by_digest'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_digest`
|
||||
delete from performance_schema.events_statements_summary_by_digest
|
||||
where count_star=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_statements_summary_by_digest'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_digest`
|
||||
delete from performance_schema.events_statements_summary_by_digest;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_statements_summary_by_digest'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_digest`
|
||||
LOCK TABLES performance_schema.events_statements_summary_by_digest READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_statements_summary_by_digest'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_digest`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_statements_summary_by_digest WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_statements_summary_by_digest'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_digest`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -6,23 +6,23 @@ insert into performance_schema.events_statements_summary_by_host_by_event_name
|
||||
set event_name='FOO', thread_id=1,
|
||||
count_star=1, sum_timer_wait=2, min_timer_wait=3,
|
||||
avg_timer_wait=4, max_timer_wait=5;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_statements_summary_by_host_by_event_name'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_host_by_event_name`
|
||||
update performance_schema.events_statements_summary_by_host_by_event_name
|
||||
set count_star=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_statements_summary_by_host_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_host_by_event_name`
|
||||
update performance_schema.events_statements_summary_by_host_by_event_name
|
||||
set count_star=12 where event_name like "FOO";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_statements_summary_by_host_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_host_by_event_name`
|
||||
delete from performance_schema.events_statements_summary_by_host_by_event_name
|
||||
where count_star=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_statements_summary_by_host_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_host_by_event_name`
|
||||
delete from performance_schema.events_statements_summary_by_host_by_event_name;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_statements_summary_by_host_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_host_by_event_name`
|
||||
LOCK TABLES performance_schema.events_statements_summary_by_host_by_event_name READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_statements_summary_by_host_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_host_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_statements_summary_by_host_by_event_name WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_statements_summary_by_host_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_host_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -6,23 +6,23 @@ insert into performance_schema.events_statements_summary_by_thread_by_event_name
|
||||
set event_name='FOO', thread_id=1,
|
||||
count_star=1, sum_timer_wait=2, min_timer_wait=3,
|
||||
avg_timer_wait=4, max_timer_wait=5;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_statements_summary_by_thread_by_event_name'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_thread_by_event_name`
|
||||
update performance_schema.events_statements_summary_by_thread_by_event_name
|
||||
set count_star=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_statements_summary_by_thread_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_thread_by_event_name`
|
||||
update performance_schema.events_statements_summary_by_thread_by_event_name
|
||||
set count_star=12 where event_name like "FOO";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_statements_summary_by_thread_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_thread_by_event_name`
|
||||
delete from performance_schema.events_statements_summary_by_thread_by_event_name
|
||||
where count_star=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_statements_summary_by_thread_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_thread_by_event_name`
|
||||
delete from performance_schema.events_statements_summary_by_thread_by_event_name;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_statements_summary_by_thread_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_thread_by_event_name`
|
||||
LOCK TABLES performance_schema.events_statements_summary_by_thread_by_event_name READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_statements_summary_by_thread_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_thread_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_statements_summary_by_thread_by_event_name WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_statements_summary_by_thread_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_thread_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -6,23 +6,23 @@ insert into performance_schema.events_statements_summary_by_user_by_event_name
|
||||
set event_name='FOO', user='BAR',
|
||||
count_star=1, sum_timer_wait=2, min_timer_wait=3,
|
||||
avg_timer_wait=4, max_timer_wait=5;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_statements_summary_by_user_by_event_name'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_user_by_event_name`
|
||||
update performance_schema.events_statements_summary_by_user_by_event_name
|
||||
set count_star=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_statements_summary_by_user_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_user_by_event_name`
|
||||
update performance_schema.events_statements_summary_by_user_by_event_name
|
||||
set count_star=12 where event_name like "FOO";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_statements_summary_by_user_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_user_by_event_name`
|
||||
delete from performance_schema.events_statements_summary_by_user_by_event_name
|
||||
where count_star=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_statements_summary_by_user_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_user_by_event_name`
|
||||
delete from performance_schema.events_statements_summary_by_user_by_event_name;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_statements_summary_by_user_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_user_by_event_name`
|
||||
LOCK TABLES performance_schema.events_statements_summary_by_user_by_event_name READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_statements_summary_by_user_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_user_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_statements_summary_by_user_by_event_name WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_statements_summary_by_user_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_user_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -5,23 +5,23 @@ where event_name='FOO';
|
||||
insert into performance_schema.events_statements_summary_global_by_event_name
|
||||
set event_name='FOO', count_star=1, sum_timer_wait=2, min_timer_wait=3,
|
||||
avg_timer_wait=4, max_timer_wait=5;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_statements_summary_global_by_event_name'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_global_by_event_name`
|
||||
update performance_schema.events_statements_summary_global_by_event_name
|
||||
set count_star=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_statements_summary_global_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_global_by_event_name`
|
||||
update performance_schema.events_statements_summary_global_by_event_name
|
||||
set count_star=12 where event_name like "FOO";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_statements_summary_global_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_global_by_event_name`
|
||||
delete from performance_schema.events_statements_summary_global_by_event_name
|
||||
where count_star=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_statements_summary_global_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_global_by_event_name`
|
||||
delete from performance_schema.events_statements_summary_global_by_event_name;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_statements_summary_global_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_global_by_event_name`
|
||||
LOCK TABLES performance_schema.events_statements_summary_global_by_event_name READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_statements_summary_global_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_global_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_statements_summary_global_by_event_name WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_statements_summary_global_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_global_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -5,23 +5,23 @@ where event_name='FOO';
|
||||
insert into performance_schema.events_stages_current
|
||||
set thread_id='1', event_id=1,
|
||||
event_name='FOO', timer_start=1, timer_end=2, timer_wait=3;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_stages_current'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_current`
|
||||
update performance_schema.events_stages_current
|
||||
set timer_start=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_stages_current'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_current`
|
||||
update performance_schema.events_stages_current
|
||||
set timer_start=12 where thread_id=0;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_stages_current'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_current`
|
||||
delete from performance_schema.events_stages_current
|
||||
where thread_id=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_stages_current'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_current`
|
||||
delete from performance_schema.events_stages_current;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_stages_current'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_current`
|
||||
LOCK TABLES performance_schema.events_stages_current READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_stages_current'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_current`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_stages_current WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_stages_current'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_current`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -9,23 +9,23 @@ where event_name like 'stage/%' order by timer_wait desc limit 1;
|
||||
insert into performance_schema.events_stages_history
|
||||
set thread_id='1', event_id=1,
|
||||
event_name='FOO', timer_start=1, timer_end=2, timer_wait=3;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_stages_history'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_history`
|
||||
update performance_schema.events_stages_history
|
||||
set timer_start=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_stages_history'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_history`
|
||||
update performance_schema.events_stages_history
|
||||
set timer_start=12 where thread_id=0;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_stages_history'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_history`
|
||||
delete from performance_schema.events_stages_history
|
||||
where thread_id=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_stages_history'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_history`
|
||||
delete from performance_schema.events_stages_history;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_stages_history'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_history`
|
||||
LOCK TABLES performance_schema.events_stages_history READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_stages_history'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_history`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_stages_history WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_stages_history'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_history`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -9,23 +9,23 @@ where event_name like 'stage/%' order by timer_wait desc limit 1;
|
||||
insert into performance_schema.events_stages_history_long
|
||||
set thread_id='1', event_id=1,
|
||||
event_name='FOO', timer_start=1, timer_end=2, timer_wait=3;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_stages_history_long'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_history_long`
|
||||
update performance_schema.events_stages_history_long
|
||||
set timer_start=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_stages_history_long'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_history_long`
|
||||
update performance_schema.events_stages_history_long
|
||||
set timer_start=12 where thread_id=0;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_stages_history_long'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_history_long`
|
||||
delete from performance_schema.events_stages_history_long
|
||||
where thread_id=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_stages_history_long'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_history_long`
|
||||
delete from performance_schema.events_stages_history_long;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_stages_history_long'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_history_long`
|
||||
LOCK TABLES performance_schema.events_stages_history_long READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_stages_history_long'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_history_long`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_stages_history_long WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_stages_history_long'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_history_long`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -5,23 +5,23 @@ where event_name='FOO';
|
||||
insert into performance_schema.events_statements_current
|
||||
set thread_id='1', event_id=1,
|
||||
event_name='FOO', timer_start=1, timer_end=2, timer_wait=3;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_statements_current'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_current`
|
||||
update performance_schema.events_statements_current
|
||||
set timer_start=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_statements_current'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_current`
|
||||
update performance_schema.events_statements_current
|
||||
set timer_start=12 where thread_id=0;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_statements_current'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_current`
|
||||
delete from performance_schema.events_statements_current
|
||||
where thread_id=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_statements_current'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_current`
|
||||
delete from performance_schema.events_statements_current;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_statements_current'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_current`
|
||||
LOCK TABLES performance_schema.events_statements_current READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_statements_current'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_current`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_statements_current WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_statements_current'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_current`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -9,23 +9,23 @@ where event_name like 'statement/%' order by timer_wait desc limit 1;
|
||||
insert into performance_schema.events_statements_history
|
||||
set thread_id='1', event_id=1,
|
||||
event_name='FOO', timer_start=1, timer_end=2, timer_wait=3;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_statements_history'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_history`
|
||||
update performance_schema.events_statements_history
|
||||
set timer_start=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_statements_history'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_history`
|
||||
update performance_schema.events_statements_history
|
||||
set timer_start=12 where thread_id=0;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_statements_history'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_history`
|
||||
delete from performance_schema.events_statements_history
|
||||
where thread_id=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_statements_history'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_history`
|
||||
delete from performance_schema.events_statements_history;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_statements_history'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_history`
|
||||
LOCK TABLES performance_schema.events_statements_history READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_statements_history'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_history`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_statements_history WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_statements_history'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_history`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -9,23 +9,23 @@ where event_name like 'statement/%' order by timer_wait desc limit 1;
|
||||
insert into performance_schema.events_statements_history_long
|
||||
set thread_id='1', event_id=1,
|
||||
event_name='FOO', timer_start=1, timer_end=2, timer_wait=3;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_statements_history_long'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_history_long`
|
||||
update performance_schema.events_statements_history_long
|
||||
set timer_start=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_statements_history_long'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_history_long`
|
||||
update performance_schema.events_statements_history_long
|
||||
set timer_start=12 where thread_id=0;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_statements_history_long'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_history_long`
|
||||
delete from performance_schema.events_statements_history_long
|
||||
where thread_id=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_statements_history_long'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_history_long`
|
||||
delete from performance_schema.events_statements_history_long;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_statements_history_long'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_history_long`
|
||||
LOCK TABLES performance_schema.events_statements_history_long READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_statements_history_long'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_history_long`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_statements_history_long WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_statements_history_long'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_history_long`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -5,23 +5,23 @@ where event_name='FOO';
|
||||
insert into performance_schema.events_waits_current
|
||||
set thread_id='1', event_id=1,
|
||||
event_name='FOO', timer_start=1, timer_end=2, timer_wait=3;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_waits_current'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_current`
|
||||
update performance_schema.events_waits_current
|
||||
set timer_start=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_waits_current'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_current`
|
||||
update performance_schema.events_waits_current
|
||||
set timer_start=12 where thread_id=0;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_waits_current'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_current`
|
||||
delete from performance_schema.events_waits_current
|
||||
where thread_id=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_waits_current'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_current`
|
||||
delete from performance_schema.events_waits_current;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_waits_current'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_current`
|
||||
LOCK TABLES performance_schema.events_waits_current READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_waits_current'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_current`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_waits_current WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_waits_current'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_current`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -9,23 +9,23 @@ where event_name like 'Wait/Synch/%' order by timer_wait desc limit 1;
|
||||
insert into performance_schema.events_waits_history
|
||||
set thread_id='1', event_id=1,
|
||||
event_name='FOO', timer_start=1, timer_end=2, timer_wait=3;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_waits_history'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_history`
|
||||
update performance_schema.events_waits_history
|
||||
set timer_start=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_waits_history'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_history`
|
||||
update performance_schema.events_waits_history
|
||||
set timer_start=12 where thread_id=0;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_waits_history'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_history`
|
||||
delete from performance_schema.events_waits_history
|
||||
where thread_id=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_waits_history'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_history`
|
||||
delete from performance_schema.events_waits_history;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_waits_history'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_history`
|
||||
LOCK TABLES performance_schema.events_waits_history READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_waits_history'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_history`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_waits_history WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_waits_history'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_history`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -9,23 +9,23 @@ where event_name like 'Wait/Synch/%' order by timer_wait desc limit 1;
|
||||
insert into performance_schema.events_waits_history_long
|
||||
set thread_id='1', event_id=1,
|
||||
event_name='FOO', timer_start=1, timer_end=2, timer_wait=3;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_waits_history_long'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_history_long`
|
||||
update performance_schema.events_waits_history_long
|
||||
set timer_start=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_waits_history_long'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_history_long`
|
||||
update performance_schema.events_waits_history_long
|
||||
set timer_start=12 where thread_id=0;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_waits_history_long'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_history_long`
|
||||
delete from performance_schema.events_waits_history_long
|
||||
where thread_id=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_waits_history_long'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_history_long`
|
||||
delete from performance_schema.events_waits_history_long;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_waits_history_long'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_history_long`
|
||||
LOCK TABLES performance_schema.events_waits_history_long READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_waits_history_long'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_history_long`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_waits_history_long WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_waits_history_long'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_history_long`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -9,23 +9,23 @@ insert into performance_schema.events_waits_summary_by_account_by_event_name
|
||||
set event_name='FOO', user='BAR', host='BAZ',
|
||||
count_star=1, sum_timer_wait=2, min_timer_wait=3,
|
||||
avg_timer_wait=4, max_timer_wait=5;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_waits_summary_by_account_by_event_name'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_account_by_event_name`
|
||||
update performance_schema.events_waits_summary_by_account_by_event_name
|
||||
set count_star=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_waits_summary_by_account_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_account_by_event_name`
|
||||
update performance_schema.events_waits_summary_by_account_by_event_name
|
||||
set count_star=12 where event_name like "FOO";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_waits_summary_by_account_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_account_by_event_name`
|
||||
delete from performance_schema.events_waits_summary_by_account_by_event_name
|
||||
where count_star=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_waits_summary_by_account_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_account_by_event_name`
|
||||
delete from performance_schema.events_waits_summary_by_account_by_event_name;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_waits_summary_by_account_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_account_by_event_name`
|
||||
LOCK TABLES performance_schema.events_waits_summary_by_account_by_event_name READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_waits_summary_by_account_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_account_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_waits_summary_by_account_by_event_name WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_waits_summary_by_account_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_account_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -9,23 +9,23 @@ insert into performance_schema.events_waits_summary_by_host_by_event_name
|
||||
set event_name='FOO', thread_id=1,
|
||||
count_star=1, sum_timer_wait=2, min_timer_wait=3,
|
||||
avg_timer_wait=4, max_timer_wait=5;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_waits_summary_by_host_by_event_name'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_host_by_event_name`
|
||||
update performance_schema.events_waits_summary_by_host_by_event_name
|
||||
set count_star=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_waits_summary_by_host_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_host_by_event_name`
|
||||
update performance_schema.events_waits_summary_by_host_by_event_name
|
||||
set count_star=12 where event_name like "FOO";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_waits_summary_by_host_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_host_by_event_name`
|
||||
delete from performance_schema.events_waits_summary_by_host_by_event_name
|
||||
where count_star=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_waits_summary_by_host_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_host_by_event_name`
|
||||
delete from performance_schema.events_waits_summary_by_host_by_event_name;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_waits_summary_by_host_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_host_by_event_name`
|
||||
LOCK TABLES performance_schema.events_waits_summary_by_host_by_event_name READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_waits_summary_by_host_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_host_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_waits_summary_by_host_by_event_name WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_waits_summary_by_host_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_host_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -14,23 +14,23 @@ insert into performance_schema.events_waits_summary_by_instance
|
||||
set event_name='FOO', object_instance_begin=0,
|
||||
count_star=1, sum_timer_wait=2, min_timer_wait=3,
|
||||
avg_timer_wait=4, max_timer_wait=5;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_waits_summary_by_instance'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_instance`
|
||||
update performance_schema.events_waits_summary_by_instance
|
||||
set count_star=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_waits_summary_by_instance'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_instance`
|
||||
update performance_schema.events_waits_summary_by_instance
|
||||
set count_star=12 where event_name like "FOO";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_waits_summary_by_instance'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_instance`
|
||||
delete from performance_schema.events_waits_summary_by_instance
|
||||
where count_star=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_waits_summary_by_instance'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_instance`
|
||||
delete from performance_schema.events_waits_summary_by_instance;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_waits_summary_by_instance'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_instance`
|
||||
LOCK TABLES performance_schema.events_waits_summary_by_instance READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_waits_summary_by_instance'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_instance`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_waits_summary_by_instance WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_waits_summary_by_instance'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_instance`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -6,23 +6,23 @@ insert into performance_schema.events_waits_summary_by_thread_by_event_name
|
||||
set event_name='FOO', thread_id=1,
|
||||
count_star=1, sum_timer_wait=2, min_timer_wait=3,
|
||||
avg_timer_wait=4, max_timer_wait=5;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_waits_summary_by_thread_by_event_name'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_thread_by_event_name`
|
||||
update performance_schema.events_waits_summary_by_thread_by_event_name
|
||||
set count_star=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_waits_summary_by_thread_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_thread_by_event_name`
|
||||
update performance_schema.events_waits_summary_by_thread_by_event_name
|
||||
set count_star=12 where event_name like "FOO";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_waits_summary_by_thread_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_thread_by_event_name`
|
||||
delete from performance_schema.events_waits_summary_by_thread_by_event_name
|
||||
where count_star=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_waits_summary_by_thread_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_thread_by_event_name`
|
||||
delete from performance_schema.events_waits_summary_by_thread_by_event_name;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_waits_summary_by_thread_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_thread_by_event_name`
|
||||
LOCK TABLES performance_schema.events_waits_summary_by_thread_by_event_name READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_waits_summary_by_thread_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_thread_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_waits_summary_by_thread_by_event_name WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_waits_summary_by_thread_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_thread_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -9,23 +9,23 @@ insert into performance_schema.events_waits_summary_by_user_by_event_name
|
||||
set event_name='FOO', user='BAR',
|
||||
count_star=1, sum_timer_wait=2, min_timer_wait=3,
|
||||
avg_timer_wait=4, max_timer_wait=5;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_waits_summary_by_user_by_event_name'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_user_by_event_name`
|
||||
update performance_schema.events_waits_summary_by_user_by_event_name
|
||||
set count_star=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_waits_summary_by_user_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_user_by_event_name`
|
||||
update performance_schema.events_waits_summary_by_user_by_event_name
|
||||
set count_star=12 where event_name like "FOO";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_waits_summary_by_user_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_user_by_event_name`
|
||||
delete from performance_schema.events_waits_summary_by_user_by_event_name
|
||||
where count_star=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_waits_summary_by_user_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_user_by_event_name`
|
||||
delete from performance_schema.events_waits_summary_by_user_by_event_name;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_waits_summary_by_user_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_user_by_event_name`
|
||||
LOCK TABLES performance_schema.events_waits_summary_by_user_by_event_name READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_waits_summary_by_user_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_user_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_waits_summary_by_user_by_event_name WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_waits_summary_by_user_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_by_user_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -5,23 +5,23 @@ where event_name='FOO';
|
||||
insert into performance_schema.events_waits_summary_global_by_event_name
|
||||
set event_name='FOO', count_star=1, sum_timer_wait=2, min_timer_wait=3,
|
||||
avg_timer_wait=4, max_timer_wait=5;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_waits_summary_global_by_event_name'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_global_by_event_name`
|
||||
update performance_schema.events_waits_summary_global_by_event_name
|
||||
set count_star=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_waits_summary_global_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_global_by_event_name`
|
||||
update performance_schema.events_waits_summary_global_by_event_name
|
||||
set count_star=12 where event_name like "FOO";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_waits_summary_global_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_global_by_event_name`
|
||||
delete from performance_schema.events_waits_summary_global_by_event_name
|
||||
where count_star=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_waits_summary_global_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_global_by_event_name`
|
||||
delete from performance_schema.events_waits_summary_global_by_event_name;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_waits_summary_global_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_global_by_event_name`
|
||||
LOCK TABLES performance_schema.events_waits_summary_global_by_event_name READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_waits_summary_global_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_global_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_waits_summary_global_by_event_name WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_waits_summary_global_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_summary_global_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -3,20 +3,20 @@ select * from performance_schema.file_instances
|
||||
where file_name='FOO';
|
||||
insert into performance_schema.file_instances
|
||||
set file_name='FOO', event_name='BAR', open_count=12;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'file_instances'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`file_instances`
|
||||
update performance_schema.file_instances
|
||||
set file_name='FOO';
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'file_instances'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`file_instances`
|
||||
delete from performance_schema.file_instances
|
||||
where event_name like "wait/%";
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'file_instances'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`file_instances`
|
||||
delete from performance_schema.file_instances;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'file_instances'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`file_instances`
|
||||
LOCK TABLES performance_schema.file_instances READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'file_instances'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`file_instances`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.file_instances WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'file_instances'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`file_instances`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -5,23 +5,23 @@ where event_name='FOO';
|
||||
insert into performance_schema.file_summary_by_event_name
|
||||
set event_name='FOO', count_read=1, count_write=2,
|
||||
sum_number_of_bytes_read=4, sum_number_of_bytes_write=5;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'file_summary_by_event_name'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`file_summary_by_event_name`
|
||||
update performance_schema.file_summary_by_event_name
|
||||
set count_read=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'file_summary_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`file_summary_by_event_name`
|
||||
update performance_schema.file_summary_by_event_name
|
||||
set count_write=12 where event_name like "FOO";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'file_summary_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`file_summary_by_event_name`
|
||||
delete from performance_schema.file_summary_by_event_name
|
||||
where count_read=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'file_summary_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`file_summary_by_event_name`
|
||||
delete from performance_schema.file_summary_by_event_name;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'file_summary_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`file_summary_by_event_name`
|
||||
LOCK TABLES performance_schema.file_summary_by_event_name READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'file_summary_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`file_summary_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.file_summary_by_event_name WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'file_summary_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`file_summary_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -5,23 +5,23 @@ where event_name='FOO';
|
||||
insert into performance_schema.file_summary_by_instance
|
||||
set event_name='FOO', count_read=1, count_write=2,
|
||||
sum_number_of_bytes_read=4, sum_number_of_bytes_write=5;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'file_summary_by_instance'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`file_summary_by_instance`
|
||||
update performance_schema.file_summary_by_instance
|
||||
set count_read=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'file_summary_by_instance'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`file_summary_by_instance`
|
||||
update performance_schema.file_summary_by_instance
|
||||
set count_write=12 where event_name like "FOO";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'file_summary_by_instance'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`file_summary_by_instance`
|
||||
delete from performance_schema.file_summary_by_instance
|
||||
where count_read=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'file_summary_by_instance'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`file_summary_by_instance`
|
||||
delete from performance_schema.file_summary_by_instance;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'file_summary_by_instance'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`file_summary_by_instance`
|
||||
LOCK TABLES performance_schema.file_summary_by_instance READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'file_summary_by_instance'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`file_summary_by_instance`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.file_summary_by_instance WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'file_summary_by_instance'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`file_summary_by_instance`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -4,26 +4,26 @@ select * from performance_schema.host_cache
|
||||
where IP='localhost';
|
||||
insert into performance_schema.host_cache
|
||||
set IP='FOO', SUM_BLOCKING_ERRORS=1, COUNT_FCRDNS_ERRORS=2;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'host_cache'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`host_cache`
|
||||
update performance_schema.host_cache
|
||||
set COUNT_UNKNOWN_ERRORS=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'host_cache'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`host_cache`
|
||||
update performance_schema.host_cache
|
||||
set SUM_BLOCKING_ERRORS=12 where IP='127.0.0.1';
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'host_cache'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`host_cache`
|
||||
select HOST from performance_schema.host_cache
|
||||
where IP='::1';
|
||||
HOST
|
||||
delete from performance_schema.host_cache
|
||||
where IP='::1';
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'host_cache'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`host_cache`
|
||||
delete from performance_schema.host_cache;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'host_cache'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`host_cache`
|
||||
LOCK TABLES performance_schema.host_cache READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'host_cache'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`host_cache`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.host_cache WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'host_cache'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`host_cache`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -5,23 +5,23 @@ where host='FOO';
|
||||
insert into performance_schema.hosts
|
||||
set host='FOO',
|
||||
current_connections=1, total_connections=2;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'hosts'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`hosts`
|
||||
update performance_schema.hosts
|
||||
set current_connections=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'hosts'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`hosts`
|
||||
update performance_schema.hosts
|
||||
set current_connections=12 where host like "FOO";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'hosts'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`hosts`
|
||||
delete from performance_schema.hosts
|
||||
where total_connections=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'hosts'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`hosts`
|
||||
delete from performance_schema.hosts;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'hosts'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`hosts`
|
||||
LOCK TABLES performance_schema.hosts READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'hosts'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`hosts`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.hosts WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'hosts'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`hosts`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -3,20 +3,20 @@ select * from performance_schema.mutex_instances
|
||||
where name='FOO';
|
||||
insert into performance_schema.mutex_instances
|
||||
set name='FOO', object_instance_begin=12;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'mutex_instances'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`mutex_instances`
|
||||
update performance_schema.mutex_instances
|
||||
set name='FOO';
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'mutex_instances'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`mutex_instances`
|
||||
delete from performance_schema.mutex_instances
|
||||
where name like "wait/%";
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'mutex_instances'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`mutex_instances`
|
||||
delete from performance_schema.mutex_instances;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'mutex_instances'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`mutex_instances`
|
||||
LOCK TABLES performance_schema.mutex_instances READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'mutex_instances'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`mutex_instances`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.mutex_instances WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'mutex_instances'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`mutex_instances`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -25,23 +25,23 @@ insert into performance_schema.objects_summary_global_by_type
|
||||
set object_type='TABLE', schema_name='FOO', object_name='BAR',
|
||||
count_star=1, sum_timer_wait=2, min_timer_wait=3,
|
||||
avg_timer_wait=4, max_timer_wait=5;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'objects_summary_global_by_type'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`objects_summary_global_by_type`
|
||||
update performance_schema.objects_summary_global_by_type
|
||||
set count_star=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'objects_summary_global_by_type'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`objects_summary_global_by_type`
|
||||
update performance_schema.objects_summary_global_by_type
|
||||
set count_star=12 where object_name like "FOO";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'objects_summary_global_by_type'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`objects_summary_global_by_type`
|
||||
delete from performance_schema.objects_summary_global_by_type
|
||||
where count_star=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'objects_summary_global_by_type'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`objects_summary_global_by_type`
|
||||
delete from performance_schema.objects_summary_global_by_type;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'objects_summary_global_by_type'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`objects_summary_global_by_type`
|
||||
LOCK TABLES performance_schema.objects_summary_global_by_type READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'objects_summary_global_by_type'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`objects_summary_global_by_type`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.objects_summary_global_by_type WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'objects_summary_global_by_type'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`objects_summary_global_by_type`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -12,20 +12,20 @@ CYCLE <frequency> <resolution> <overhead>
|
||||
insert into performance_schema.performance_timers
|
||||
set timer_name='FOO', timer_frequency=1,
|
||||
timer_resolution=2, timer_overhead=3;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'performance_timers'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`performance_timers`
|
||||
update performance_schema.performance_timers
|
||||
set timer_frequency=12 where timer_name='CYCLE';
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'performance_timers'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`performance_timers`
|
||||
delete from performance_schema.performance_timers;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'performance_timers'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`performance_timers`
|
||||
delete from performance_schema.performance_timers
|
||||
where timer_name='CYCLE';
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'performance_timers'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`performance_timers`
|
||||
LOCK TABLES performance_schema.performance_timers READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'performance_timers'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`performance_timers`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.performance_timers WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'performance_timers'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`performance_timers`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -3,20 +3,20 @@ select * from performance_schema.rwlock_instances
|
||||
where name='FOO';
|
||||
insert into performance_schema.rwlock_instances
|
||||
set name='FOO', object_instance_begin=12;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'rwlock_instances'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`rwlock_instances`
|
||||
update performance_schema.rwlock_instances
|
||||
set name='FOO';
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'rwlock_instances'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`rwlock_instances`
|
||||
delete from performance_schema.rwlock_instances
|
||||
where name like "wait/%";
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'rwlock_instances'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`rwlock_instances`
|
||||
delete from performance_schema.rwlock_instances;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'rwlock_instances'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`rwlock_instances`
|
||||
LOCK TABLES performance_schema.rwlock_instances READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'rwlock_instances'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`rwlock_instances`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.rwlock_instances WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'rwlock_instances'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`rwlock_instances`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -5,23 +5,23 @@ where ATTR_NAME='FOO' OR ATTR_VALUE='BAR';
|
||||
INSERT INTO performance_schema.session_account_connect_attrs
|
||||
SET ATTR_NAME='FOO', ATTR_VALUE='BAR',
|
||||
ORDINAL_POSITION=100, PROCESS_ID=102;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'session_account_connect_attrs'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`session_account_connect_attrs`
|
||||
UPDATE performance_schema.session_account_connect_attrs
|
||||
SET ATTR_NAME='FOO';
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'session_account_connect_attrs'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`session_account_connect_attrs`
|
||||
UPDATE performance_schema.session_account_connect_attrs
|
||||
SET ATTR_NAME='FOO' WHERE ATTR_VALUE='BAR';
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'session_account_connect_attrs'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`session_account_connect_attrs`
|
||||
DELETE FROM performance_schema.session_account_connect_attrs
|
||||
WHERE ATTR_VALUE='BAR';
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'session_account_connect_attrs'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`session_account_connect_attrs`
|
||||
DELETE FROM performance_schema.session_account_connect_attrs;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'session_account_connect_attrs'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`session_account_connect_attrs`
|
||||
LOCK TABLES performance_schema.session_account_connect_attrs READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'session_account_connect_attrs'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`session_account_connect_attrs`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.session_account_connect_attrs WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'session_account_connect_attrs'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`session_account_connect_attrs`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -5,23 +5,23 @@ where ATTR_NAME='FOO' OR ATTR_VALUE='BAR';
|
||||
INSERT INTO performance_schema.session_connect_attrs
|
||||
SET ATTR_NAME='FOO', ATTR_VALUE='BAR',
|
||||
ORDINAL_POSITION=100, PROCESS_ID=102;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'session_connect_attrs'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`session_connect_attrs`
|
||||
UPDATE performance_schema.session_connect_attrs
|
||||
SET ATTR_NAME='FOO';
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'session_connect_attrs'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`session_connect_attrs`
|
||||
UPDATE performance_schema.session_connect_attrs
|
||||
SET ATTR_NAME='FOO' WHERE ATTR_VALUE='BAR';
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'session_connect_attrs'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`session_connect_attrs`
|
||||
DELETE FROM performance_schema.session_connect_attrs
|
||||
WHERE ATTR_VALUE='BAR';
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'session_connect_attrs'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`session_connect_attrs`
|
||||
DELETE FROM performance_schema.session_connect_attrs;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'session_connect_attrs'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`session_connect_attrs`
|
||||
LOCK TABLES performance_schema.session_connect_attrs READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'session_connect_attrs'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`session_connect_attrs`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.session_connect_attrs WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'session_connect_attrs'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`session_connect_attrs`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -36,17 +36,17 @@ where enabled='NO';
|
||||
NAME ENABLED
|
||||
insert into performance_schema.setup_consumers
|
||||
set name='FOO', enabled='YES';
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'setup_consumers'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`setup_consumers`
|
||||
update performance_schema.setup_consumers
|
||||
set name='FOO';
|
||||
ERROR HY000: Invalid performance_schema usage
|
||||
update performance_schema.setup_consumers
|
||||
set enabled='YES';
|
||||
delete from performance_schema.setup_consumers;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'setup_consumers'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`setup_consumers`
|
||||
delete from performance_schema.setup_consumers
|
||||
where name='events_waits_current';
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'setup_consumers'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`setup_consumers`
|
||||
LOCK TABLES performance_schema.setup_consumers READ;
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.setup_consumers WRITE;
|
||||
|
@ -54,7 +54,7 @@ select * from performance_schema.setup_instruments
|
||||
where enabled='YES';
|
||||
insert into performance_schema.setup_instruments
|
||||
set name='FOO', enabled='YES', timed='YES';
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'setup_instruments'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`setup_instruments`
|
||||
update performance_schema.setup_instruments
|
||||
set name='FOO';
|
||||
ERROR HY000: Invalid performance_schema usage
|
||||
@ -66,10 +66,10 @@ select * from performance_schema.setup_instruments;
|
||||
update performance_schema.setup_instruments
|
||||
set enabled='YES', timed='YES';
|
||||
delete from performance_schema.setup_instruments;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'setup_instruments'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`setup_instruments`
|
||||
delete from performance_schema.setup_instruments
|
||||
where name like 'Wait/Synch/%';
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'setup_instruments'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`setup_instruments`
|
||||
LOCK TABLES performance_schema.setup_instruments READ;
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.setup_instruments WRITE;
|
||||
|
@ -22,7 +22,7 @@ NAME TIMER_NAME
|
||||
wait CYCLE
|
||||
insert into performance_schema.setup_timers
|
||||
set name='FOO', timer_name='CYCLE';
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'setup_timers'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`setup_timers`
|
||||
update performance_schema.setup_timers
|
||||
set name='FOO';
|
||||
ERROR HY000: Invalid performance_schema usage
|
||||
@ -37,10 +37,10 @@ statement MILLISECOND
|
||||
update performance_schema.setup_timers
|
||||
set timer_name='CYCLE';
|
||||
delete from performance_schema.setup_timers;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'setup_timers'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`setup_timers`
|
||||
delete from performance_schema.setup_timers
|
||||
where name='Wait';
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'setup_timers'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`setup_timers`
|
||||
LOCK TABLES performance_schema.setup_timers READ;
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.setup_timers WRITE;
|
||||
|
@ -3,20 +3,20 @@ select * from performance_schema.socket_instances
|
||||
where ip='FOO';
|
||||
insert into performance_schema.socket_instances
|
||||
set ip='FOO', event_name='BAR', port=12;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'socket_instances'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`socket_instances`
|
||||
update performance_schema.socket_instances
|
||||
set ip='FOO';
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'socket_instances'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`socket_instances`
|
||||
delete from performance_schema.socket_instances
|
||||
where event_name like "wait/%";
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'socket_instances'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`socket_instances`
|
||||
delete from performance_schema.socket_instances;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'socket_instances'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`socket_instances`
|
||||
LOCK TABLES performance_schema.socket_instances READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'socket_instances'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`socket_instances`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.socket_instances WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'socket_instances'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`socket_instances`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -6,23 +6,23 @@ insert into performance_schema.socket_summary_by_event_name
|
||||
set event_name='FOO',
|
||||
count_star=1, sum_timer_wait=2, min_timer_wait=3,
|
||||
avg_timer_wait=4, max_timer_wait=5;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'socket_summary_by_event_name'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`socket_summary_by_event_name`
|
||||
update performance_schema.socket_summary_by_event_name
|
||||
set count_star=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'socket_summary_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`socket_summary_by_event_name`
|
||||
update performance_schema.socket_summary_by_event_name
|
||||
set count_star=12 where event_name like "FOO";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'socket_summary_by_event_name'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`socket_summary_by_event_name`
|
||||
delete from performance_schema.socket_summary_by_event_name
|
||||
where count_star=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'socket_summary_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`socket_summary_by_event_name`
|
||||
delete from performance_schema.socket_summary_by_event_name;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'socket_summary_by_event_name'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`socket_summary_by_event_name`
|
||||
LOCK TABLES performance_schema.socket_summary_by_event_name READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'socket_summary_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`socket_summary_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.socket_summary_by_event_name WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'socket_summary_by_event_name'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`socket_summary_by_event_name`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -6,23 +6,23 @@ insert into performance_schema.socket_summary_by_instance
|
||||
set object_instance_begin=1,
|
||||
count_star=1, sum_timer_wait=2, min_timer_wait=3,
|
||||
avg_timer_wait=4, max_timer_wait=5;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'socket_summary_by_instance'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`socket_summary_by_instance`
|
||||
update performance_schema.socket_summary_by_instance
|
||||
set count_star=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'socket_summary_by_instance'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`socket_summary_by_instance`
|
||||
update performance_schema.socket_summary_by_instance
|
||||
set count_star=12 where object_instance_begin like "FOO";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'socket_summary_by_instance'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`socket_summary_by_instance`
|
||||
delete from performance_schema.socket_summary_by_instance
|
||||
where count_star=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'socket_summary_by_instance'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`socket_summary_by_instance`
|
||||
delete from performance_schema.socket_summary_by_instance;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'socket_summary_by_instance'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`socket_summary_by_instance`
|
||||
LOCK TABLES performance_schema.socket_summary_by_instance READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'socket_summary_by_instance'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`socket_summary_by_instance`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.socket_summary_by_instance WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'socket_summary_by_instance'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`socket_summary_by_instance`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -4,7 +4,7 @@ select * from performance_schema.threads
|
||||
where name='FOO';
|
||||
insert into performance_schema.threads
|
||||
set name='FOO', thread_id=1, processlist_id=2;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'threads'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`threads`
|
||||
update performance_schema.threads
|
||||
set thread_id=12;
|
||||
ERROR HY000: Invalid performance_schema usage
|
||||
@ -25,9 +25,9 @@ instrumented
|
||||
YES
|
||||
delete from performance_schema.threads
|
||||
where id=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'threads'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`threads`
|
||||
delete from performance_schema.threads;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'threads'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`threads`
|
||||
LOCK TABLES performance_schema.threads READ;
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.threads WRITE;
|
||||
|
@ -6,23 +6,23 @@ insert into performance_schema.table_io_waits_summary_by_index_usage
|
||||
set object_type='TABLE', object_name='FOO', object_schema='BAR',
|
||||
count_star=1, sum_timer_wait=2, min_timer_wait=3,
|
||||
avg_timer_wait=4, max_timer_wait=5;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'table_io_waits_summary_by_index_usage'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`table_io_waits_summary_by_index_usage`
|
||||
update performance_schema.table_io_waits_summary_by_index_usage
|
||||
set count_star=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'table_io_waits_summary_by_index_usage'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`table_io_waits_summary_by_index_usage`
|
||||
update performance_schema.table_io_waits_summary_by_index_usage
|
||||
set count_star=12 where object_name like "FOO";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'table_io_waits_summary_by_index_usage'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`table_io_waits_summary_by_index_usage`
|
||||
delete from performance_schema.table_io_waits_summary_by_index_usage
|
||||
where count_star=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'table_io_waits_summary_by_index_usage'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`table_io_waits_summary_by_index_usage`
|
||||
delete from performance_schema.table_io_waits_summary_by_index_usage;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'table_io_waits_summary_by_index_usage'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`table_io_waits_summary_by_index_usage`
|
||||
LOCK TABLES performance_schema.table_io_waits_summary_by_index_usage READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'table_io_waits_summary_by_index_usage'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`table_io_waits_summary_by_index_usage`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.table_io_waits_summary_by_index_usage WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'table_io_waits_summary_by_index_usage'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`table_io_waits_summary_by_index_usage`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -6,23 +6,23 @@ insert into performance_schema.table_io_waits_summary_by_table
|
||||
set object_type='TABLE', object_name='FOO', object_schema='BAR',
|
||||
count_star=1, sum_timer_wait=2, min_timer_wait=3,
|
||||
avg_timer_wait=4, max_timer_wait=5;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'table_io_waits_summary_by_table'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`table_io_waits_summary_by_table`
|
||||
update performance_schema.table_io_waits_summary_by_table
|
||||
set count_star=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'table_io_waits_summary_by_table'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`table_io_waits_summary_by_table`
|
||||
update performance_schema.table_io_waits_summary_by_table
|
||||
set count_star=12 where object_name like "FOO";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'table_io_waits_summary_by_table'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`table_io_waits_summary_by_table`
|
||||
delete from performance_schema.table_io_waits_summary_by_table
|
||||
where count_star=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'table_io_waits_summary_by_table'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`table_io_waits_summary_by_table`
|
||||
delete from performance_schema.table_io_waits_summary_by_table;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'table_io_waits_summary_by_table'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`table_io_waits_summary_by_table`
|
||||
LOCK TABLES performance_schema.table_io_waits_summary_by_table READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'table_io_waits_summary_by_table'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`table_io_waits_summary_by_table`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.table_io_waits_summary_by_table WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'table_io_waits_summary_by_table'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`table_io_waits_summary_by_table`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -6,23 +6,23 @@ insert into performance_schema.table_lock_waits_summary_by_table
|
||||
set object_type='TABLE', object_name='FOO', object_schema='BAR',
|
||||
count_star=1, sum_timer_wait=2, min_timer_wait=3,
|
||||
avg_timer_wait=4, max_timer_wait=5;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'table_lock_waits_summary_by_table'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`table_lock_waits_summary_by_table`
|
||||
update performance_schema.table_lock_waits_summary_by_table
|
||||
set count_star=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'table_lock_waits_summary_by_table'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`table_lock_waits_summary_by_table`
|
||||
update performance_schema.table_lock_waits_summary_by_table
|
||||
set count_star=12 where object_name like "FOO";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'table_lock_waits_summary_by_table'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`table_lock_waits_summary_by_table`
|
||||
delete from performance_schema.table_lock_waits_summary_by_table
|
||||
where count_star=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'table_lock_waits_summary_by_table'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`table_lock_waits_summary_by_table`
|
||||
delete from performance_schema.table_lock_waits_summary_by_table;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'table_lock_waits_summary_by_table'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`table_lock_waits_summary_by_table`
|
||||
LOCK TABLES performance_schema.table_lock_waits_summary_by_table READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'table_lock_waits_summary_by_table'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`table_lock_waits_summary_by_table`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.table_lock_waits_summary_by_table WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'table_lock_waits_summary_by_table'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`table_lock_waits_summary_by_table`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -5,23 +5,23 @@ where user='FOO';
|
||||
insert into performance_schema.users
|
||||
set user='FOO',
|
||||
current_connections=1, total_connections=2;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'users'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`users`
|
||||
update performance_schema.users
|
||||
set current_connections=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'users'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`users`
|
||||
update performance_schema.users
|
||||
set current_connections=12 where user like "FOO";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'users'
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`users`
|
||||
delete from performance_schema.users
|
||||
where total_connections=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'users'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`users`
|
||||
delete from performance_schema.users;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'users'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`users`
|
||||
LOCK TABLES performance_schema.users READ;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'users'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`users`
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.users WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'users'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`users`
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
|
@ -52,7 +52,7 @@ SELECT object_schema, object_name FROM performance_schema.objects_summary_global
|
||||
WHERE object_schema='test';
|
||||
object_schema object_name
|
||||
create table performance_schema.t1(a int);
|
||||
ERROR 42000: CREATE command denied to user 'root'@'localhost' for table 't1'
|
||||
ERROR 42000: CREATE command denied to user 'root'@'localhost' for table `performance_schema`.`t1`
|
||||
SELECT object_schema, object_name FROM performance_schema.objects_summary_global_by_type
|
||||
WHERE object_schema='test';
|
||||
object_schema object_name
|
||||
|
@ -56,9 +56,9 @@ ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_
|
||||
grant TRIGGER on performance_schema.setup_instruments to 'pfs_user_3'@localhost;
|
||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
grant INSERT on performance_schema.setup_instruments to 'pfs_user_3'@localhost;
|
||||
ERROR 42000: INSERT, GRANT command denied to user 'root'@'localhost' for table 'setup_instruments'
|
||||
ERROR 42000: INSERT, GRANT command denied to user 'root'@'localhost' for table `performance_schema`.`setup_instruments`
|
||||
grant DELETE on performance_schema.setup_instruments to 'pfs_user_3'@localhost;
|
||||
ERROR 42000: DELETE, GRANT command denied to user 'root'@'localhost' for table 'setup_instruments'
|
||||
ERROR 42000: DELETE, GRANT command denied to user 'root'@'localhost' for table `performance_schema`.`setup_instruments`
|
||||
grant SELECT on performance_schema.setup_instruments to 'pfs_user_3'@localhost
|
||||
with GRANT OPTION;
|
||||
grant UPDATE on performance_schema.setup_instruments to 'pfs_user_3'@localhost
|
||||
@ -81,11 +81,11 @@ ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_
|
||||
grant TRIGGER on performance_schema.events_waits_current to 'pfs_user_3'@localhost;
|
||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
grant INSERT on performance_schema.events_waits_current to 'pfs_user_3'@localhost;
|
||||
ERROR 42000: INSERT, GRANT command denied to user 'root'@'localhost' for table 'events_waits_current'
|
||||
ERROR 42000: INSERT, GRANT command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_current`
|
||||
grant UPDATE on performance_schema.events_waits_current to 'pfs_user_3'@localhost;
|
||||
ERROR 42000: UPDATE, GRANT command denied to user 'root'@'localhost' for table 'events_waits_current'
|
||||
ERROR 42000: UPDATE, GRANT command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_current`
|
||||
grant DELETE on performance_schema.events_waits_current to 'pfs_user_3'@localhost;
|
||||
ERROR 42000: DELETE, GRANT command denied to user 'root'@'localhost' for table 'events_waits_current'
|
||||
ERROR 42000: DELETE, GRANT command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_current`
|
||||
grant SELECT on performance_schema.events_waits_current to 'pfs_user_3'@localhost
|
||||
with GRANT OPTION;
|
||||
grant ALL on performance_schema.file_instances to 'pfs_user_3'@localhost
|
||||
@ -106,11 +106,11 @@ ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_
|
||||
grant TRIGGER on performance_schema.file_instances to 'pfs_user_3'@localhost;
|
||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
grant INSERT on performance_schema.file_instances to 'pfs_user_3'@localhost;
|
||||
ERROR 42000: INSERT, GRANT command denied to user 'root'@'localhost' for table 'file_instances'
|
||||
ERROR 42000: INSERT, GRANT command denied to user 'root'@'localhost' for table `performance_schema`.`file_instances`
|
||||
grant UPDATE on performance_schema.file_instances to 'pfs_user_3'@localhost;
|
||||
ERROR 42000: UPDATE, GRANT command denied to user 'root'@'localhost' for table 'file_instances'
|
||||
ERROR 42000: UPDATE, GRANT command denied to user 'root'@'localhost' for table `performance_schema`.`file_instances`
|
||||
grant DELETE on performance_schema.file_instances to 'pfs_user_3'@localhost;
|
||||
ERROR 42000: DELETE, GRANT command denied to user 'root'@'localhost' for table 'file_instances'
|
||||
ERROR 42000: DELETE, GRANT command denied to user 'root'@'localhost' for table `performance_schema`.`file_instances`
|
||||
grant SELECT on performance_schema.file_instances to 'pfs_user_3'@localhost
|
||||
with GRANT OPTION;
|
||||
grant LOCK TABLES on performance_schema.* to 'pfs_user_3'@localhost
|
||||
@ -164,34 +164,34 @@ create table test.t1 like performance_schema.file_instances;
|
||||
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by the engine")
|
||||
insert into performance_schema.setup_instruments
|
||||
set name="foo";
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'setup_instruments'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`setup_instruments`
|
||||
insert into performance_schema.events_waits_current
|
||||
set name="foo";
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_waits_current'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_current`
|
||||
insert into performance_schema.file_instances
|
||||
set name="foo";
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'file_instances'
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`file_instances`
|
||||
delete from performance_schema.setup_instruments;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'setup_instruments'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`setup_instruments`
|
||||
delete from performance_schema.events_waits_current;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_waits_current'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_current`
|
||||
delete from performance_schema.file_instances;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'file_instances'
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`file_instances`
|
||||
lock table performance_schema.setup_instruments read;
|
||||
unlock tables;
|
||||
lock table performance_schema.setup_instruments write;
|
||||
unlock tables;
|
||||
lock table performance_schema.events_waits_current read;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_waits_current'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_current`
|
||||
unlock tables;
|
||||
lock table performance_schema.events_waits_current write;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_waits_current'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_waits_current`
|
||||
unlock tables;
|
||||
lock table performance_schema.file_instances read;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'file_instances'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`file_instances`
|
||||
unlock tables;
|
||||
lock table performance_schema.file_instances write;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'file_instances'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`file_instances`
|
||||
unlock tables;
|
||||
#
|
||||
# WL#4818, NFS2: Can use grants to give normal user access
|
||||
@ -263,34 +263,34 @@ create table test.t1 like performance_schema.file_instances;
|
||||
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by the engine")
|
||||
insert into performance_schema.setup_instruments
|
||||
set name="foo";
|
||||
ERROR 42000: INSERT command denied to user 'pfs_user_1'@'localhost' for table 'setup_instruments'
|
||||
ERROR 42000: INSERT command denied to user 'pfs_user_1'@'localhost' for table `performance_schema`.`setup_instruments`
|
||||
insert into performance_schema.events_waits_current
|
||||
set name="foo";
|
||||
ERROR 42000: INSERT command denied to user 'pfs_user_1'@'localhost' for table 'events_waits_current'
|
||||
ERROR 42000: INSERT command denied to user 'pfs_user_1'@'localhost' for table `performance_schema`.`events_waits_current`
|
||||
insert into performance_schema.file_instances
|
||||
set name="foo";
|
||||
ERROR 42000: INSERT command denied to user 'pfs_user_1'@'localhost' for table 'file_instances'
|
||||
ERROR 42000: INSERT command denied to user 'pfs_user_1'@'localhost' for table `performance_schema`.`file_instances`
|
||||
delete from performance_schema.setup_instruments;
|
||||
ERROR 42000: DELETE command denied to user 'pfs_user_1'@'localhost' for table 'setup_instruments'
|
||||
ERROR 42000: DELETE command denied to user 'pfs_user_1'@'localhost' for table `performance_schema`.`setup_instruments`
|
||||
delete from performance_schema.events_waits_current;
|
||||
ERROR 42000: DELETE command denied to user 'pfs_user_1'@'localhost' for table 'events_waits_current'
|
||||
ERROR 42000: DELETE command denied to user 'pfs_user_1'@'localhost' for table `performance_schema`.`events_waits_current`
|
||||
delete from performance_schema.file_instances;
|
||||
ERROR 42000: DELETE command denied to user 'pfs_user_1'@'localhost' for table 'file_instances'
|
||||
ERROR 42000: DELETE command denied to user 'pfs_user_1'@'localhost' for table `performance_schema`.`file_instances`
|
||||
lock table performance_schema.setup_instruments read;
|
||||
unlock tables;
|
||||
lock table performance_schema.setup_instruments write;
|
||||
unlock tables;
|
||||
lock table performance_schema.events_waits_current read;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'pfs_user_1'@'localhost' for table 'events_waits_current'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'pfs_user_1'@'localhost' for table `performance_schema`.`events_waits_current`
|
||||
unlock tables;
|
||||
lock table performance_schema.events_waits_current write;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'pfs_user_1'@'localhost' for table 'events_waits_current'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'pfs_user_1'@'localhost' for table `performance_schema`.`events_waits_current`
|
||||
unlock tables;
|
||||
lock table performance_schema.file_instances read;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'pfs_user_1'@'localhost' for table 'file_instances'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'pfs_user_1'@'localhost' for table `performance_schema`.`file_instances`
|
||||
unlock tables;
|
||||
lock table performance_schema.file_instances write;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'pfs_user_1'@'localhost' for table 'file_instances'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'pfs_user_1'@'localhost' for table `performance_schema`.`file_instances`
|
||||
unlock tables;
|
||||
#
|
||||
# WL#4818, NFS2: Can use grants to give normal user access
|
||||
@ -363,34 +363,34 @@ create table test.t1 like performance_schema.file_instances;
|
||||
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by the engine")
|
||||
insert into performance_schema.setup_instruments
|
||||
set name="foo";
|
||||
ERROR 42000: INSERT command denied to user 'pfs_user_2'@'localhost' for table 'setup_instruments'
|
||||
ERROR 42000: INSERT command denied to user 'pfs_user_2'@'localhost' for table `performance_schema`.`setup_instruments`
|
||||
insert into performance_schema.events_waits_current
|
||||
set name="foo";
|
||||
ERROR 42000: INSERT command denied to user 'pfs_user_2'@'localhost' for table 'events_waits_current'
|
||||
ERROR 42000: INSERT command denied to user 'pfs_user_2'@'localhost' for table `performance_schema`.`events_waits_current`
|
||||
insert into performance_schema.file_instances
|
||||
set name="foo";
|
||||
ERROR 42000: INSERT command denied to user 'pfs_user_2'@'localhost' for table 'file_instances'
|
||||
ERROR 42000: INSERT command denied to user 'pfs_user_2'@'localhost' for table `performance_schema`.`file_instances`
|
||||
delete from performance_schema.setup_instruments;
|
||||
ERROR 42000: DELETE command denied to user 'pfs_user_2'@'localhost' for table 'setup_instruments'
|
||||
ERROR 42000: DELETE command denied to user 'pfs_user_2'@'localhost' for table `performance_schema`.`setup_instruments`
|
||||
delete from performance_schema.events_waits_current;
|
||||
ERROR 42000: DELETE command denied to user 'pfs_user_2'@'localhost' for table 'events_waits_current'
|
||||
ERROR 42000: DELETE command denied to user 'pfs_user_2'@'localhost' for table `performance_schema`.`events_waits_current`
|
||||
delete from performance_schema.file_instances;
|
||||
ERROR 42000: DELETE command denied to user 'pfs_user_2'@'localhost' for table 'file_instances'
|
||||
ERROR 42000: DELETE command denied to user 'pfs_user_2'@'localhost' for table `performance_schema`.`file_instances`
|
||||
lock table performance_schema.setup_instruments read;
|
||||
unlock tables;
|
||||
lock table performance_schema.setup_instruments write;
|
||||
unlock tables;
|
||||
lock table performance_schema.events_waits_current read;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'pfs_user_2'@'localhost' for table 'events_waits_current'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'pfs_user_2'@'localhost' for table `performance_schema`.`events_waits_current`
|
||||
unlock tables;
|
||||
lock table performance_schema.events_waits_current write;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'pfs_user_2'@'localhost' for table 'events_waits_current'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'pfs_user_2'@'localhost' for table `performance_schema`.`events_waits_current`
|
||||
unlock tables;
|
||||
lock table performance_schema.file_instances read;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'pfs_user_2'@'localhost' for table 'file_instances'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'pfs_user_2'@'localhost' for table `performance_schema`.`file_instances`
|
||||
unlock tables;
|
||||
lock table performance_schema.file_instances write;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'pfs_user_2'@'localhost' for table 'file_instances'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'pfs_user_2'@'localhost' for table `performance_schema`.`file_instances`
|
||||
unlock tables;
|
||||
#
|
||||
# WL#4818, NFS2: Can use grants to give normal user access
|
||||
@ -463,34 +463,34 @@ create table test.t1 like performance_schema.file_instances;
|
||||
ERROR HY000: Can't create table `test`.`t1` (errno: 131 "Command not supported by the engine")
|
||||
insert into performance_schema.setup_instruments
|
||||
set name="foo";
|
||||
ERROR 42000: INSERT command denied to user 'pfs_user_3'@'localhost' for table 'setup_instruments'
|
||||
ERROR 42000: INSERT command denied to user 'pfs_user_3'@'localhost' for table `performance_schema`.`setup_instruments`
|
||||
insert into performance_schema.events_waits_current
|
||||
set name="foo";
|
||||
ERROR 42000: INSERT command denied to user 'pfs_user_3'@'localhost' for table 'events_waits_current'
|
||||
ERROR 42000: INSERT command denied to user 'pfs_user_3'@'localhost' for table `performance_schema`.`events_waits_current`
|
||||
insert into performance_schema.file_instances
|
||||
set name="foo";
|
||||
ERROR 42000: INSERT command denied to user 'pfs_user_3'@'localhost' for table 'file_instances'
|
||||
ERROR 42000: INSERT command denied to user 'pfs_user_3'@'localhost' for table `performance_schema`.`file_instances`
|
||||
delete from performance_schema.setup_instruments;
|
||||
ERROR 42000: DELETE command denied to user 'pfs_user_3'@'localhost' for table 'setup_instruments'
|
||||
ERROR 42000: DELETE command denied to user 'pfs_user_3'@'localhost' for table `performance_schema`.`setup_instruments`
|
||||
delete from performance_schema.events_waits_current;
|
||||
ERROR 42000: DELETE command denied to user 'pfs_user_3'@'localhost' for table 'events_waits_current'
|
||||
ERROR 42000: DELETE command denied to user 'pfs_user_3'@'localhost' for table `performance_schema`.`events_waits_current`
|
||||
delete from performance_schema.file_instances;
|
||||
ERROR 42000: DELETE command denied to user 'pfs_user_3'@'localhost' for table 'file_instances'
|
||||
ERROR 42000: DELETE command denied to user 'pfs_user_3'@'localhost' for table `performance_schema`.`file_instances`
|
||||
lock table performance_schema.setup_instruments read;
|
||||
unlock tables;
|
||||
lock table performance_schema.setup_instruments write;
|
||||
unlock tables;
|
||||
lock table performance_schema.events_waits_current read;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'pfs_user_3'@'localhost' for table 'events_waits_current'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'pfs_user_3'@'localhost' for table `performance_schema`.`events_waits_current`
|
||||
unlock tables;
|
||||
lock table performance_schema.events_waits_current write;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'pfs_user_3'@'localhost' for table 'events_waits_current'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'pfs_user_3'@'localhost' for table `performance_schema`.`events_waits_current`
|
||||
unlock tables;
|
||||
lock table performance_schema.file_instances read;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'pfs_user_3'@'localhost' for table 'file_instances'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'pfs_user_3'@'localhost' for table `performance_schema`.`file_instances`
|
||||
unlock tables;
|
||||
lock table performance_schema.file_instances write;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'pfs_user_3'@'localhost' for table 'file_instances'
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'pfs_user_3'@'localhost' for table `performance_schema`.`file_instances`
|
||||
unlock tables;
|
||||
#
|
||||
# WL#4818, NFS2: Can use grants to give normal user access
|
||||
@ -499,16 +499,16 @@ unlock tables;
|
||||
# Should work as pfs_user_1 and pfs_user_2, but not as pfs_user_3.
|
||||
# (Except for events_waits_current, which is granted.)
|
||||
SELECT "can select" FROM performance_schema.events_waits_history LIMIT 1;
|
||||
ERROR 42000: SELECT command denied to user 'pfs_user_3'@'localhost' for table 'events_waits_history'
|
||||
ERROR 42000: SELECT command denied to user 'pfs_user_3'@'localhost' for table `performance_schema`.`events_waits_history`
|
||||
SELECT "can select" FROM performance_schema.events_waits_history_long LIMIT 1;
|
||||
ERROR 42000: SELECT command denied to user 'pfs_user_3'@'localhost' for table 'events_waits_history_long'
|
||||
ERROR 42000: SELECT command denied to user 'pfs_user_3'@'localhost' for table `performance_schema`.`events_waits_history_long`
|
||||
SELECT "can select" FROM performance_schema.events_waits_current LIMIT 1;
|
||||
can select
|
||||
can select
|
||||
SELECT "can select" FROM performance_schema.events_waits_summary_by_instance LIMIT 1;
|
||||
ERROR 42000: SELECT command denied to user 'pfs_user_3'@'localhost' for table 'events_waits_summary_by_instance'
|
||||
ERROR 42000: SELECT command denied to user 'pfs_user_3'@'localhost' for table `performance_schema`.`events_waits_summary_by_instance`
|
||||
SELECT "can select" FROM performance_schema.file_summary_by_instance LIMIT 1;
|
||||
ERROR 42000: SELECT command denied to user 'pfs_user_3'@'localhost' for table 'file_summary_by_instance'
|
||||
ERROR 42000: SELECT command denied to user 'pfs_user_3'@'localhost' for table `performance_schema`.`file_summary_by_instance`
|
||||
disconnect con3;
|
||||
connection default;
|
||||
revoke all privileges, grant option from 'pfs_user_1'@localhost;
|
||||
@ -529,15 +529,15 @@ connect pfs_user_4, localhost, pfs_user_4, , ;
|
||||
connection pfs_user_4;
|
||||
# Select as pfs_user_4 should fail without grant
|
||||
SELECT event_id FROM performance_schema.events_waits_history;
|
||||
ERROR 42000: SELECT command denied to user 'pfs_user_4'@'localhost' for table 'events_waits_history'
|
||||
ERROR 42000: SELECT command denied to user 'pfs_user_4'@'localhost' for table `performance_schema`.`events_waits_history`
|
||||
SELECT event_id FROM performance_schema.events_waits_history_long;
|
||||
ERROR 42000: SELECT command denied to user 'pfs_user_4'@'localhost' for table 'events_waits_history_long'
|
||||
ERROR 42000: SELECT command denied to user 'pfs_user_4'@'localhost' for table `performance_schema`.`events_waits_history_long`
|
||||
SELECT event_id FROM performance_schema.events_waits_current;
|
||||
ERROR 42000: SELECT command denied to user 'pfs_user_4'@'localhost' for table 'events_waits_current'
|
||||
ERROR 42000: SELECT command denied to user 'pfs_user_4'@'localhost' for table `performance_schema`.`events_waits_current`
|
||||
SELECT event_name FROM performance_schema.events_waits_summary_by_instance;
|
||||
ERROR 42000: SELECT command denied to user 'pfs_user_4'@'localhost' for table 'events_waits_summary_by_instance'
|
||||
ERROR 42000: SELECT command denied to user 'pfs_user_4'@'localhost' for table `performance_schema`.`events_waits_summary_by_instance`
|
||||
SELECT event_name FROM performance_schema.file_summary_by_instance;
|
||||
ERROR 42000: SELECT command denied to user 'pfs_user_4'@'localhost' for table 'file_summary_by_instance'
|
||||
ERROR 42000: SELECT command denied to user 'pfs_user_4'@'localhost' for table `performance_schema`.`file_summary_by_instance`
|
||||
#
|
||||
# WL#4818, NFS3: Normal user does not have access to change what is
|
||||
# instrumented without grants
|
||||
@ -546,21 +546,21 @@ connection pfs_user_4;
|
||||
# User pfs_user_4 should not be allowed to tweak instrumentation without
|
||||
# explicit grant
|
||||
UPDATE performance_schema.setup_instruments SET enabled = 'NO', timed = 'YES';
|
||||
ERROR 42000: UPDATE command denied to user 'pfs_user_4'@'localhost' for table 'setup_instruments'
|
||||
ERROR 42000: UPDATE command denied to user 'pfs_user_4'@'localhost' for table `performance_schema`.`setup_instruments`
|
||||
UPDATE performance_schema.setup_instruments SET enabled = 'YES'
|
||||
WHERE name LIKE 'wait/synch/mutex/%'
|
||||
OR name LIKE 'wait/synch/rwlock/%';
|
||||
ERROR 42000: UPDATE command denied to user 'pfs_user_4'@'localhost' for table 'setup_instruments'
|
||||
ERROR 42000: UPDATE command denied to user 'pfs_user_4'@'localhost' for table `performance_schema`.`setup_instruments`
|
||||
UPDATE performance_schema.setup_consumers SET enabled = 'YES';
|
||||
ERROR 42000: UPDATE command denied to user 'pfs_user_4'@'localhost' for table 'setup_consumers'
|
||||
ERROR 42000: UPDATE command denied to user 'pfs_user_4'@'localhost' for table `performance_schema`.`setup_consumers`
|
||||
UPDATE performance_schema.setup_timers SET timer_name = 'TICK';
|
||||
ERROR 42000: UPDATE command denied to user 'pfs_user_4'@'localhost' for table 'setup_timers'
|
||||
ERROR 42000: UPDATE command denied to user 'pfs_user_4'@'localhost' for table `performance_schema`.`setup_timers`
|
||||
TRUNCATE TABLE performance_schema.events_waits_history_long;
|
||||
ERROR 42000: DROP command denied to user 'pfs_user_4'@'localhost' for table 'events_waits_history_long'
|
||||
ERROR 42000: DROP command denied to user 'pfs_user_4'@'localhost' for table `performance_schema`.`events_waits_history_long`
|
||||
TRUNCATE TABLE performance_schema.events_waits_history;
|
||||
ERROR 42000: DROP command denied to user 'pfs_user_4'@'localhost' for table 'events_waits_history'
|
||||
ERROR 42000: DROP command denied to user 'pfs_user_4'@'localhost' for table `performance_schema`.`events_waits_history`
|
||||
TRUNCATE TABLE performance_schema.events_waits_current;
|
||||
ERROR 42000: DROP command denied to user 'pfs_user_4'@'localhost' for table 'events_waits_current'
|
||||
ERROR 42000: DROP command denied to user 'pfs_user_4'@'localhost' for table `performance_schema`.`events_waits_current`
|
||||
#
|
||||
# WL#4814, NFS1: Can use grants to give normal user access
|
||||
# to turn on and off instrumentation
|
||||
|
@ -115,7 +115,7 @@ from performance_schema.threads
|
||||
where PROCESSLIST_ID = connection_id();
|
||||
connect con5, localhost, user5, , ;
|
||||
select * from performance_schema.threads;
|
||||
ERROR 42000: SELECT command denied to user 'user5'@'localhost' for table 'threads'
|
||||
ERROR 42000: SELECT command denied to user 'user5'@'localhost' for table `performance_schema`.`threads`
|
||||
select * from test.v1;
|
||||
NAME TYPE INSTRUMENTED PROCESSLIST_USER PROCESSLIST_HOST
|
||||
thread/sql/one_connection FOREGROUND YES user5 localhost
|
||||
|
Reference in New Issue
Block a user