Requirements to discover a MySQL server

Discovery searches for the MySQL configuration file and certain process parameters.

Discovery searches for the MySQL configuration file location from the following areas:
  • UNIX: Discovery searches for the MySQL configuration file location from the mysqld process, or port 3306.
  • Windows: Discovery searches for the MySQL configuration file location from the mysqld.exe process, or port 3306.
For each process, the following process parameters are explored in the following order:

--defaults-extra-file

--defaults-file

If the MYSQL configuration file location is not found from that search, then the following occurs:
  • UNIX: The configuration file location defaults to /etc/my.cnf.
  • Windows: No default configuration file location exists, and the probe to read the configuration file location is skipped.