Submit a ticketCall us

Announcing NCM 7.7
With NCM 7.7, you can examine the rules that make up an access control list for a Cisco ASA device. Then you can apply filters to display only rules that meet the specified criteria, order the rules by line number or by the hit count, and much more.
See new features and improvements.

Home > Success Center > Database Performance Analyzer (DPA) > Monitor a read-only MySQL database instance in DPA

Monitor a read-only MySQL database instance in DPA

Created by Anthony.Rinaldi_ret, last modified by MindTouch on Jun 23, 2016

Views: 59 Votes: 0 Revisions: 4

Overview

You cannot register a read-only MySQL database in DPA. An error message displays stating that the user does not have enough privileges.

Environment

  • DPA 10.1

Cause

DPA requires that the monitoring user has updated privileges on the MySQL Performance Schema database.

Resolution

Register a MySQL database that is not read-only.

 

  1. Click Options > Register for Monitoring.
  2. Click MySQL, and click Next.
  3. Complete the Register Instance Wizard.

 

Stop monitoring on the MySQL database, and edit the MYSQL_PERFORMANCE_SCHEMA advanced option so DPA does not update the MySQL Performance Schema.

 

  1. On the DPA home page, click Action > Stop Monitor next to the MySQL database.
  2. Click Options > Administration > Advanced Options.
  3. Click the DB Instance Options tab, and select the read-only MySQL database from the Database Instance list.
  4. Click the MYSQL_PERFORMANCE_SCHEMA option.
  5. From the New Value list, select Leave MySQL as it is, and click Update.

 

Update the connection to point to a read-only MySQL database, and start monitoring on the MySQL database. This operation does not require the monitoring user to have updated privileges on the MySQL Performance Schema database.

 

  1. Click Options > Update Connection Info.
  2. Select the MySQL database, and click Next.
  3. Enter the connection and user information of the read-only MySQL database, and complete the wizard.
  4. On the DPA home page, click Action > Start Monitor next to the MySQL database.

 

 

 

 

Last modified
19:16, 22 Jun 2016

Tags

Classifications

Public