pt-variable-advisor should default to localhost

Bug #898140 reported by Ryan Lowe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to https://jira.percona.com/projects/PT
Confirmed
Undecided
Unassigned

Bug Description

$ ./pt-variable-advisor --version
pt-variable-advisor 1.0.1
$ ./pt-variable-advisor
Usage: pt-variable-advisor [OPTION...] [DSN]

Errors in command-line arguments:
  * A DSN must be specified when --source-of-variables=mysql

pt-variable-advisor analyzes variables and advises on possible problems. For
more details, please use the --help option, or try 'perldoc
./pt-variable-advisor' for complete documentation.
$ ./pt-variable-advisor localhost
# WARN delay_key_write: MyISAM index blocks are never flushed until necessary.
... (omitted) ...

A sane behavior would be to (as mysql client itself and most/all other Percona-Toolkit tools) default to the most useful case and examine the localhost.

tags: added: pt-variable-advisor
Brian Fraser (fraserbn)
Changed in percona-toolkit:
importance: Undecided → Wishlist
Revision history for this message
Daniel Nichter (daniel-nichter) wrote :

I thought all the tools did already default to localhost. Obviously not. They should though.

Changed in percona-toolkit:
status: New → Confirmed
importance: Wishlist → Undecided
tags: added: wrong-default
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-901

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.