call mtr.add_suppression("\\[ERROR\\] \\[[^]]*\\] \\[[^]]*\\] Function 'keyring_file' already exists"); call mtr.add_suppression("\\[ERROR\\] \\[[^]]*\\] \\[[^]]*\\] Couldn't load plugin named 'keyring_file' with soname 'keyring_file.so'."); call mtr.add_suppression("keyring_file_data cannot be set to new value as the keyring file cannot be created/accessed in the provided path"); call mtr.add_suppression("\\[ERROR\\] \\[[^]]*\\] \\[[^]]*\\] Plugin keyring_file reported: 'keyring_file initialization failure."); call mtr.add_suppression("Plugin keyring_file reported: 'Could not create keyring directory The keyring_file will stay unusable until correct path to the keyring directory gets provided"); call mtr.add_suppression("Error while loading keyring content. The keyring might be malformed"); call mtr.add_suppression("\\[ERROR\\] \\[[^]]*\\] \\[[^]]*\\] Plugin keyring_file reported: 'File .*keyring' not found .*"); call mtr.add_suppression("\\[ERROR\\] \\[[^]]*\\] \\[[^]]*\\] Plugin keyring_file reported: 'File .*keyring/' not found .*"); call mtr.add_suppression("\\[ERROR\\] \\[[^]]*\\] \\[[^]]*\\] Plugin keyring_file reported: 'File 'MYSQL_test_invalid/dir/' not found .*"); call mtr.add_suppression("\\[ERROR\\] \\[[^]]*\\] \\[[^]]*\\] Plugin keyring_file reported: 'File '/' not found .*"); call mtr.add_suppression("\\[ERROR\\] \\[[^]]*\\] \\[[^]]*\\] Plugin keyring_file reported: 'Incorrect Keyring file"); INSTALL PLUGIN keyring_file SONAME 'keyring_file.so'; SELECT PLUGIN_NAME,PLUGIN_VERSION,PLUGIN_STATUS FROM INFORMATION_SCHEMA.PLUGINS WHERE plugin_name='keyring_file'; PLUGIN_NAME keyring_file PLUGIN_VERSION 1.0 PLUGIN_STATUS ACTIVE SET @@global.keyring_file_data='keyring_file'; SELECT @@global.keyring_file_data; @@global.keyring_file_data keyring_file CREATE TABLE t1(c1 INT, c2 char(20)) ENCRYPTION="Y" ENGINE = InnoDB; SET @@global.keyring_file_data= 'MYSQL_TMP_DIR/new_keyring_file_data'; SELECT @@global.keyring_file_data; @@global.keyring_file_data MYSQL_TMP_DIR/new_keyring_file_data SET @@global.keyring_file_data=''; ERROR 42000: Variable 'keyring_file_data' can't be set to the value of '' SET @@global.keyring_file_data=1; ERROR 42000: Incorrect argument type to variable 'keyring_file_data' SET @@global.keyring_file_data='/'; ERROR 42000: Variable 'keyring_file_data' can't be set to the value of '/' SET @@global.keyring_file_data='/keyring/'; ERROR 42000: Variable 'keyring_file_data' can't be set to the value of '/keyring/' SET @@session.keyring_file_data= '$MYSQL_TMP_DIR/new_keyring_file_data'; ERROR HY000: Variable 'keyring_file_data' is a GLOBAL variable and should be set with SET GLOBAL SET @@local.keyring_file_data= '$MYSQL_TMP_DIR/new_keyring_file_data'; ERROR HY000: Variable 'keyring_file_data' is a GLOBAL variable and should be set with SET GLOBAL SET @@global.keyring_file_data= 'MYSQL_test_invalid/dir/'; ERROR 42000: Variable 'keyring_file_data' can't be set to the value of 'MYSQL_test_invalid/dir/' SELECT @@global.keyring_file_data; @@global.keyring_file_data MYSQL_TMP_DIR/new_keyring_file_data UNINSTALL PLUGIN keyring_file; SELECT PLUGIN_NAME,PLUGIN_VERSION,PLUGIN_STATUS FROM INFORMATION_SCHEMA.PLUGINS WHERE plugin_name='keyring_file'; DROP TABLE t1; #End: