--- title: MySQL discovery description: Discovery can identify an instance of MySQL that is running on UNIX or Windows operating systems. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/it-operations-management/itom-visibility/c\_MySQLDiscovery.html release: australia product: ITOM Visibility classification: itom-visibility topic_type: concept last_updated: "2026-03-12" reading_time_minutes: 2 breadcrumb: [Database discovery, Data collected by ITOM Visibility, ITOM Visibility reference, ITOM Visibility, IT Operations Management] --- # MySQL discovery Discovery can identify an instance of MySQL that is running on UNIX or Windows operating systems. ## Requirements 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. **Note:** For information on Probe to Pattern migration see the knowledge article [KB0694477](https://support.servicenow.com/kb_view.do?sysparm_article=KB0694477). ## Credentials Configure these credentials: - [Windows credentials](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-security/r_WindowsCredentialsForm.md) - [SSH credentials](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-security/r_SSHCredentialsForm.md) - [Applicative credentials](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-security/applicative-creds.md) \(When applications require credentials in addition to the credentials the that host machine requires.\) **Note:** There’s no need to configure applicative credentials unless your Discovery prerequisites mention them. For a list of privileged commands that you need for Discovery and Service Mapping, see [Service Mapping commands requiring a privileged user](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/service-mapping/r_CommandsnCredentials.md). This list includes commands that require elevated rights to discover and map Unix-based hosts in your organization. ## Classifiers, patterns, and probes Discovery uses these classifiers, probes, and patterns for MySQL discovery:
| Classifier | Trigger probes | Pattern |
|---|---|---|
| MySQL Server | - Horizontal Pattern: launches patterns - Windows - MySQL Configuration\* - Windows - MySQL Version\* - MySQL - Configuration\* - MySQL - Version\* | My SQL server On Windows and Linux Pattern |