How to add/update the credentials of my MySQL database?

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

 

NotesSite24x7 stores only one credential for monitoring per MySQL instance. So, we would update the existing credentials based on hostname and port.

 

Related article: