Public bug reported: ~$ lsb_release -rd Description: Ubuntu 16.04.2 LTS Release: 16.04
:~$ apt-cache policy mysqltuner mysqltuner: Installed: 1.6.0-1 Candidate: 1.6.0-1 Version table: *** 1.6.0-1 500 500 http://azure.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages 100 /var/lib/dpkg/status Expected output: -------- AriaDB Metrics ----------------------------------------------------- [--] AriaDB is enabled. [OK] Aria pagecache size / total Aria indexes: 128.0M/358.6M [OK] Aria pagecache hit rate: 97.1% (31M cached / 930K reads) Actual output: -------- AriaDB Metrics ----------------------------------------------------- [--] AriaDB is enabled. Use of uninitialized value $mycalc{"total_aria_indexes"} in pattern match (m//) at /usr/bin/mysqltuner line 2742 (#1) (W uninitialized) An undefined value was used as if it were already defined. It was interpreted as a "" or a 0, but maybe it was a mistake. To suppress this warning assign a defined value to your variables. To help you figure out what was undefined, perl will try to tell you the name of the variable (if any) that was undefined. In some cases it cannot do this, so it also tells you what operation you used the undefined value in. Note, however, that perl optimizes your program and the operation displayed in the warning may not necessarily appear literally in your program. For example, "that $foo" is usually optimized into "that " . $foo, and the warning will refer to the concatenation (.) operator, even though there is no . in your program. Use of uninitialized value $mycalc{"total_aria_indexes"} in numeric eq (==) at /usr/bin/mysqltuner line 2746 (#1) [!!] None of your Aria tables are indexed - add indexes immediately This error is due to a typo on line 1912 which reads: $mycalc{'total_aria_indexe'} = select_one The correct line is as follows: $mycalc{'total_aria_indexes'} = select_one Fixing the typo fixes the AriaDB analysis by mysqltuner. ** Affects: mysqltuner (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1680489 Title: Typo in mysqltuner causes AriaDB analysis failure with error "Use of uninitialized value $mycalc{"total_aria_indexes"}" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysqltuner/+bug/1680489/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs