pt-variable-advisor should default to localhost

Bug #898140 reported by Ryan Lowe on 2011-11-30
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to

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) on 2012-03-08
Changed in percona-toolkit:
importance: Undecided → Wishlist
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

Percona now uses JIRA for bug reports so this bug report is migrated to:

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

Other bug subscribers