How to add/update the credentials of my MySQL database?
To add the credentials, execute the below command:
sudo /opt/site24x7/monagent/scripts/AgentManager.sh mysql --add_instance
To update the credentials, execute the below command:
sudo /opt/site24x7/monagent/scripts/AgentManager.sh mysql --update_instance
Site24x7 stores only one credential for monitoring per MySQL instance. So, we would update the existing credentials based on hostname and port.
Related article:
Related Articles
I can only see a limited amount of MySQL database monitors added. How to add new databases for monitoring?
By default, MySQL instances will be auto-discovered and added as free monitors. MySQL data collection and monitoring will start once the agent is provided with the proper credentials. Check this article on how to add or update credentials. New ...
How is MySQL added for monitoring in Site24x7?
Site24x7 uses the server monitoring agent to monitor MySQL databases. To install the Site24x7 Server monitoring agent, follow the below steps: Log in to Site24x7. Install the Linux Server monitoring agent by navigating to Server > Server Monitor > ...
Why is my MySQL monitor not discovered?
If your MySQL is not getting discovered, you cannot add your MySQL, you are unable to add MySQL server for monitoring, or unable to view your MySQL resources, try discovering your resources by navigating to Server > Server Monitor > Rediscover ...
It says, "Failed to register MySQL instance." How to troubleshoot?
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. ...
MySQL monitoring FAQs
Please find below some common FAQ's related to MySQL monitoring from Site24x7: Does Site24x7 need write permission to access databases? No. Site24x7 needs SELECT permission for performance_schema, information_schema, and EXECUTE permission for sys ...