Submit a ticketCall us

whitepaperYour VM Perplexities Called, and They Need You to Read This.

Virtualization can give you enormous flexibility with future workloads and can be a key enabler for other areas, like cloud computing and disaster recovery. So, how can you get a handle on the performance challenges in your virtual environment and manage deployments without erasing the potential upside? Learn the four key areas you need to be focusing on to help deliver a healthy and well-performing data center.

Get your free white paper.

Home > Success Center > Database Performance Analyzer (DPA) > DPA - Knowledgebase Articles > 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: 1,176 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

Tags

Classifications

Public