pt-show-grants

Command-line tools for MySQL and system tasks

Install

All systems
curl cmd.cat/pt-show-grants.sh
Debian Debian
apt-get install percona-toolkit
Ubuntu
apt-get install percona-toolkit
Arch Arch Linux
pacman -S percona-toolkit
image/svg+xml Kali Linux
apt-get install percona-toolkit
Windows (WSL2)
sudo apt-get update sudo apt-get install percona-toolkit
OS X
brew install percona-toolkit
Raspbian
apt-get install percona-toolkit

percona-toolkit

Command-line tools for MySQL and system tasks

Percona Toolkit is a collection of advanced command-line tools to perform a variety of MySQL and system tasks that are too difficult or complex to perform manually, including: - Verify master and replica data consistency - Efficiently archive rows - Find duplicate indexes - Summarize MySQL servers - Analyze queries from logs and tcpdump - Collect vital system information when problems occur