Search text in fields in every table of a MySQL database

前端 未结 24 1924
梦谈多话
梦谈多话 2020-11-22 06:23

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%\'
         


        
24条回答
  •  余生分开走
    2020-11-22 06:42

    Although this question is old , here is how you can do it if you are using mysql workbench 6.3. ( Most likely it also works for other versions)

    Right click your schema and "Search table data" , enter your value and hit "Start Search". Thats it.

提交回复
热议问题