1 2 3 4 5
if (`select count(*) = 0 from information_schema.plugins where plugin_name = 'file_key_management_plugin' and plugin_status='active'`) { --skip Needs file_key_management_plugin }