I want to search in all fields from all tables of a MySQL database a given string, possibly using syntax as:
SELECT * FROM * WHERE * LIKE '%stuff%'
Is it possible to do something like this?
If you are using MySQL Workbench, right click on the database schema and select "Search Table Data..." then fill out the form. This will search the entire database. When (or if) the results come up, click on the arrow to expand.
You could do an SQLDump
of the database (and its data) then search that file.
If you have phpMyAdmin installed use its 'Search' feature.
I have used this on up to 250 table/10GB databases (on a fast server) and the response time is nothing short of amazing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With