If you encounter the "Failed to register MySQL Monitoring" error message, check the following:
Ensure the credentials provided are correct. To add or update the credential, check this article.
Ensure the permissions are granted as shown here.
Customers also searched this KB for the below problem statements:
MySQL not registered.
MySQL registration failed.