pt-agent --install error about slave is confusing

Reported by Daniel Nichter on 2013-11-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit
High
Daniel Nichter

Bug Description

Installing pt-agent on slave results in this message:

"""
MySQL is a slave and /etc/percona/agent/my.cnf does not exist. To install the agent, please enter the MySQL username and password to use. The MySQL user must have SUPER and USAGE privileges on all databases, for example: GRANT SUPER,USAGE ON *.* TO pt_agent'@'localhost'. If the agent has been installed on the master, you can use the MySQL username and password in /etc/percona/agent/my.cnf on the master. CTRL-C to abort install.
"""

The agent should check for an existing pt_agent@localhost users (created on/from master) and give a more clear message or suggested action.

Changed in percona-toolkit:
status: Confirmed → In Progress
Changed in percona-toolkit:
status: In Progress → Fix Committed
Changed in percona-toolkit:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers