• /
  • EnglishEspañolFrançais日本語한국어Português
  • 로그인지금 시작하기

Install & configure NRDOT for MySQL monitoring with CLI

|View as Markdown (English)

You can install and configure the NRDOT Collector for MySQL monitoring using the New Relic CLI. The CLI installs the collector, creates the monitoring user, and configures the collector in a single command.

팁

To install this through the New Relic UI instead, go to one.newrelic.com > Integrations & Agents > MySQL (OpenTelemetry) . Follow the on-screen instructions to set up the integration.

Prerequisites

  • A New Relic account with a valid license key.
  • A New Relic account ID.
  • MySQL 5.7 or later.
  • A Linux collector host running Debian/Ubuntu or RHEL/CentOS, with curl and systemd installed, and the mysql client available.
  • For self-hosted MySQL: administrative access to your MySQL server (the root account or equivalent).
  • For AWS RDS/Aurora MySQL: network connectivity from the collector host to the RDS endpoint (inbound access on the MySQL port in the RDS security group), and the RDS master username and password.
  • Network connectivity to the New Relic OTLP endpoint for your region.

For detailed requirements, refer to Compatibility and prerequisites.

Install and configure the NRDOT Collector

Find and use your data

Once your data is being collected, you can access comprehensive MySQL database monitoring through the New Relic UI.

To find your MySQL database entity in New Relic:

  1. Go to one.newrelic.com > All capabilities > Databases.
  2. From the Entity type dropdown, select MySQL instance, then click Apply.
  3. Select your MySQL database from the list of entities.

To confirm data is arriving, run this query in the query builder:

SELECT count(*) FROM Metric
WHERE metricName LIKE 'mysql.%'
AND instrumentation.provider = 'opentelemetry'
SINCE 10 minutes ago

Introduction to MySQL monitoring with NRDOT

Learn about all the available installation methods for MySQL monitoring with New Relic.

Ansible install

Learn how to install and configure MySQL monitoring at scale with the newrelic.newrelic_install Ansible role.

Chef install

Learn how to install and configure MySQL monitoring at scale with the newrelic-install Chef cookbook.

Helm chart install

Learn how to install and configure MySQL monitoring on Kubernetes with the mysql-otel Helm chart.

Docker install

Learn how to run the NRDOT Collector as a sibling container to a MySQL instance already running in Docker.

Copyright © 2026 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.