make sure mysql is loaded before plugins