--disable_ps_protocol --echo # Setup : Restart server with --early_plugin_load option --exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect -- send_shutdown -- source include/wait_until_disconnected.inc --exec echo "restart:--early-plugin-load="keyring_file=$KEYRING_PLUGIN" --loose-keyring_file_data=$MYSQL_TMP_DIR/mysecret_keyring " > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect --enable_reconnect --source include/wait_until_connected_again.inc --disable_reconnect --echo # 1. Check that KEYRING_FILE plugin is installed properly SELECT PLUGIN_NAME, PLUGIN_STATUS, LOAD_OPTION FROM INFORMATION_SCHEMA.PLUGINS WHERE PLUGIN_NAME LIKE 'keyring_file'; #should be 1 SHOW VARIABLES LIKE 'keyring_file'; --echo # 3. Try uninstalling keyring_file plugin UNINSTALL PLUGIN keyring_file; --disable_warnings --source include/force_restart.inc --enable_warnings