Automic VaultAutomic Vault

brew

Install mysqltuner with Homebrew, apt, dnf, Nix

Increase performance and stability of a MySQL installation. Version 2.8.45 via Homebrew; verified 2026-06-16.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install mysqltuner

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install mysqltuner

Debian stable package indexes · mysqltuner · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install mysqltuner

Fedora Rawhide package metadata · mysqltuner · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#mysqltuner

nixpkgs package indexes · pkgs/by-name/my/mysqltuner/package.nix · source: api.github.com

overview

Package summary

Increase performance and stability of a MySQL installation

Commands and aliases

  • mysqltuner

history

Project history and usage

MySQLTuner is a Perl script for reviewing a MySQL-family server and producing configuration and performance recommendations. The maintained jmrenouard fork describes it as a tool that retrieves configuration variables and status data, then presents a compact report with suggestions for performance and stability. The script headers credit Major Hayden from 2006 onward and Jean-Marie Renouard from 2015 onward, which matches the project's split between the original `major/MySQLTuner-perl` lineage and the active `jmrenouard/MySQLTuner-perl` repository.

How it is used

The tool's niche is advisory rather than automatic tuning. Its README emphasizes MySQL, MariaDB, Percona Server, Galera, InnoDB, MyISAM, Performance Schema, Linux OS metrics, cloud autodiscovery, SSL/TLS checks, authentication auditing, schema modeling, predictive capacity planning, and health scoring. It also warns users to understand every recommendation, test on staging, and collect enough uptime before trusting the report. Homebrew packages it as the `mysqltuner` formula, giving DBAs and developers a quick CLI audit tool for local, remote, and packaged MySQL installations.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:sql

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
mysqltunercliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version2.8.45
manager updated2026-06-16
local dataok
upstreamcurrent
latest detectedv2.8.45

https://github.com/jmrenouard/MySQLTuner-perl

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:mysqltuner
Version2.8.45
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/mysqltuner
Homepagehttps://mysqltuner.com/
Repositoryhttps://github.com/jmrenouard/MySQLTuner-perl
Upstream docshttps://github.com/jmrenouard/MySQLTuner-perl/blob/master/INTERNALS.md
LicenseGPL-3.0-or-later
Source archivehttps://github.com/jmrenouard/MySQLTuner-perl/archive/refs/tags/v2.8.45.tar.gz
Last updated2026-06-16T04:26:30Z
Pulseupdated
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemysqltuner
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

mysqltuner 2.6.0-1

high-performance MySQL tuning script

https://github.com/major/MySQLTuner-perl

sudo apt install mysqltuner
  • Section: database
  • Architecture: all
  • 1 dependencies
  • 5 optional deps
  • normalized package name match
  • Matched by: Mysqltuner
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mysqltuner from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

mysqltuner

nix profile install nixpkgs#mysqltuner
  • normalized package name match
  • Matched by: Mysqltuner
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/my/mysqltuner/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

mysqltuner 2.5.2-2

high-performance MySQL tuning script

https://github.com/major/MySQLTuner-perl

sudo apt install mysqltuner
  • Section: universe/admin
  • Architecture: all
  • 1 dependencies
  • 5 optional deps
  • normalized package name match
  • Matched by: Mysqltuner
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: mysqltuner from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

mysqltuner 2.8.43-1.fc45

MySQL configuration assistant

https://github.com/major/MySQLTuner-perl

sudo dnf install mysqltuner
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: mysqltuner
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Mysqltuner
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mysqltuner from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment