MySQL monitoring FAQs

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 database only. 

What performance data is collected by Site24x7 for monitoring MySQL servers? 

Site24x7 collects data for the performance metrics listed in the document for supported metrics for MySQL servers and supported metrics for MySQL databases.

How do you collect performance metrics for MySQL monitoring? 

Performance metrics are collected by connecting to the MySQL server with the user credentials given by the user, which has limited read-only access to the performance_schema, information_schema, and sys databases.  

Does the Site24x7 agent access databases other than performance_schema, information_schema, and sys?

No, Site24x7 does not have any access to the databases except performance_schema, information_schema, and sys. 

How do you connect with the MySQL server?

Site24x7 uses pymysql python module to create a connection with the MySQL server with user credentials given in the terminal console. 

Do you keep the MySQL connection open?

No. Site24x7 creates a connection to the MySQL server for collecting performance metrics. Once the data collection is complete, the connection created will be closed. 

Do you store the MySQL user password directly?

No. Site24x7 encrypts the password given. The username and password are encrypted in the agent for security reasons. They will not be saved or stored in the Site24x7 app servers.

Related content:
  1. MySQL monitoring help document
  2. MySQL performance metrics monitored
  3. MySQL database metrics monitored

    • Related Articles

    • Troubleshoot connection errors in the MySQL plugin

      When configuring the MySQL plugin, you may encounter the following errors: Error : Connection Error - This error typically indicates that there is a problem establishing a connection to the database. Sometimes, this message is supplemented with an ...
    • How do I monitor an Oracle database hosted in a Docker container in the same machine?

      To monitor your Oracle Database hosted in a Docker container, follow these steps: Log in to Site24x7 and install the Site24x7 Linux monitoring agent. Execute the following command in your terminal and enter your Oracle Database instance's username ...
    • Troubleshoot the "pymysql module not found" error when installing the MySQL plugin

      If you're encountering the pymysql module not found error, it likely means that the pymysql Python library is not installed on the server. pymysql is a Python package that provides a way to interact with MySQL databases using Python code and is used ...
    • Unable to add SQL insight monitor

      If the SQL Insight monitor is not getting added even after entering your credentials, try these troubleshooting steps: Ensure that the Auto-discover applications feature is enabled. If not, you will need to trigger discovery using the Discover ...
    • Troubleshooting false positive alerts in monitoring

      Problem False positive alerts are being generated. Possible cause The monitoring system is down in some locations. The Website monitor might be configured for one location, such as Seattle, but may appear down when accessed from another location, ...