/mysql-tool

MySQL check/analyze/optimize tool

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

mysql-tool

MySQL tool

Installation

  • cd /opt
  • git clone https://github.com/makhomed/mysql-tool.git

Upgrade

  • cd /opt/mysql-tool
  • git pull

Usage

# /opt/mysql-tool/mysql-tool --help

usage: mysql-tool [-h] [-a] [-o] [-c] [-v]

MySQL tool

optional arguments:
  -h, --help      show this help message and exit
  -a, --analyze   analyze all databases
  -o, --optimize  optimize all databases
  -c, --check     check all databases
  -v, --verbose   print processed tables