| 1 |
--disable_ps_protocol |
| 2 |
|
| 3 |
call mtr.add_suppression("keyring_file initialization failure. Please check if the keyring_file_data points to readable keyring file or keyring file can be created in the specified location. The keyring_file will stay unusable until correct path to the keyring file gets provided"); |
| 4 |
call mtr.add_suppression("Could not create keyring directory The keyring_file will stay unusable until correct path to the keyring directory gets provided"); |
| 5 |
call mtr.add_suppression("Error while loading keyring content. The keyring might be malformed"); |
| 6 |
call mtr.add_suppression("\\[ERROR\\] \\[[^]]*\\] \\[[^]]*\\] Plugin keyring_file reported: 'File .*keyring' not found .*"); |
| 7 |
|
| 8 |
|
| 9 |
--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR |
| 10 |
--error ER_UNKNOWN_SYSTEM_VARIABLE |
| 11 |
eval SET @@global.keyring_file_data= '$MYSQL_TMP_DIR/new_keyring_file'; |
| 12 |
|
| 13 |
--replace_regex /\.dll/.so/ |
| 14 |
--disable_warnings |
| 15 |
eval INSTALL PLUGIN keyring_file SONAME '$KEYRING_PLUGIN'; |
| 16 |
--enable_warnings |
| 17 |
|
| 18 |
--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR |
| 19 |
eval SET @@global.keyring_file_data= '$MYSQL_TMP_DIR/new_keyring_file'; |
| 20 |
#cleanup |
| 21 |
--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR |
| 22 |
eval SET @@global.keyring_file_data= '$MYSQL_TMP_DIR/mysecret_keyring'; |
| 23 |
UNINSTALL PLUGIN keyring_file; |
| 24 |
|
| 25 |
--remove_file $MYSQL_TMP_DIR/mydummy_key |
| 26 |
--source include/force_restart.inc |