mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-6720 - enable connection log in mysqltest by default
This commit is contained in:
@ -9,6 +9,7 @@ to 'pfs_user_5'@localhost;
|
||||
grant UPDATE(enabled) on performance_schema.setup_instruments
|
||||
to 'pfs_user_5'@localhost;
|
||||
flush privileges;
|
||||
connect con1, localhost, pfs_user_5, , ;
|
||||
select thread_id from performance_schema.events_waits_current;
|
||||
select thread_id, event_id from performance_schema.events_waits_current;
|
||||
update performance_schema.setup_instruments set enabled='YES';
|
||||
@ -21,6 +22,8 @@ update performance_schema.setup_instruments set name='illegal';
|
||||
ERROR 42000: UPDATE command denied to user 'pfs_user_5'@'localhost' for column 'name' in table 'setup_instruments'
|
||||
update performance_schema.setup_instruments set timed='NO';
|
||||
ERROR 42000: UPDATE command denied to user 'pfs_user_5'@'localhost' for column 'timed' in table 'setup_instruments'
|
||||
connection default;
|
||||
disconnect con1;
|
||||
REVOKE ALL PRIVILEGES, GRANT OPTION FROM 'pfs_user_5'@localhost;
|
||||
DROP USER 'pfs_user_5'@localhost;
|
||||
flush privileges;
|
||||
|
Reference in New Issue
Block a user