Done
Details
Assignee
UnassignedUnassignedReporter
lpjirasynclpjirasync(Deactivated)Priority
High
Details
Details
Assignee
Unassigned
UnassignedReporter
lpjirasync
lpjirasync(Deactivated)Priority
Smart Checklist
Smart Checklist
Smart Checklist
Created January 24, 2018 at 3:47 PM
Updated January 24, 2018 at 3:47 PM
Resolved January 24, 2018 at 3:47 PM
**Reported in Launchpad by Bryan Aldridge last update 10-08-2012 18:16:24
Using output of "pt-query-digest --type tcpdump --no-report --print" as input to pt-index-usage with the --database option does not work. pt-index-usage connects to the "mysql" database, and attempts to change that with -D or --database option does not help.
Errors similar to ...
"DBD::mysql::db selectall_arrayref failed: Table 'mysql.<table name in other database>' doesn't exist [for Statement "EXPLAIN SELECT....."]
...are thrown for each query in the file produced by pt-query-digest after calling pt-index-usage.
Using percona-toolkit-2.1.2-1.noarch on Red Hat Enterprise Linux 5.8, MySQL 5.5.22 server and client.