Home  »  CodeProgrammingSnippetsTechnologyTools   »   How to Search Whole MySQL Database for a Particular String

How to Search Whole MySQL Database for a Particular String

Posted: March 16, 2022 | by Michael Bright

Use this in the Linux terminal command-line to search whole MySQL database for a particular string.

$ mysqldump -pPASSWORD database --extended=FALSE | grep 'string' | less -S

Found this article interesting? Follow Brightwhiz on Facebook, Twitter, and YouTube to read and watch more content we post.