Mysql – how to grep through a thesql database

grepmysql

Looking for a nifty helper function/method for grepping through all defined tables, columns, stored procedures, etc, for a MySql database.

I had something similar for SQL Server.

Best Solution

mysqldump --compact --skip-extended-insert -u root -proot mydb | grep "interesting string"