pt-agent --install suggest MySQL user isn't quoted

Bug #1250968 reported by Daniel Nichter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to https://jira.percona.com/projects/PT
Fix Released
Medium
Daniel Nichter

Bug Description

"""
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.
""

That should should be: 'pt_agent'@'localhost'.

Tags: pt-agent

Related branches

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
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PT-631

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.