MySQL discovery

Discovery creates or updates a CMDB record when it detects a running instance of MySQL on UNIX or Windows systems.

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.
Table 1. Data collected by Discovery on MySQL servers
Label Table Name Field Name Source
MySQL configuration cmdb_ci_db_mysql_instance myconf my.cnf
TCP port(s) cmdb_ci_db_mysql_instance tcp_port running_process
Version cmdb_ci_db_mysql_instance version mysqld