Skip to content

Instantly share code, notes, and snippets.

@taiar
Created August 30, 2019 21:06
Show Gist options
  • Save taiar/30c502ee695cf94a5b69c285681eefa1 to your computer and use it in GitHub Desktop.
Save taiar/30c502ee695cf94a5b69c285681eefa1 to your computer and use it in GitHub Desktop.
WATCH MYSQL DATABASE
mysql -u root -proot -e "SELECT table_name, table_rows FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = \"DATABASE\";"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment