Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 792019
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T21:55:41+00:00 2026-05-14T21:55:41+00:00

Short of SQL-dumping my entire database to text and searching that, is there a

  • 0

Short of SQL-dumping my entire database to text and searching that, is there a way to search for a specific substring in all tables of a MySQL database if you are not sure which table/record/field that substring actually occurs?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T21:55:42+00:00Added an answer on May 14, 2026 at 9:55 pm

    Some ideas:

    You could use some external full-text search capability, such as http://www.sphinxsearch.com/

    Search your binary logs. If you use statement-based logging, that should be pretty straightforward.

    It would be nasty and dirty to just search the data files themselves, but that would probably work for the most part. YMMV to an extreme degree!

    You could probably come up with algorithm that identifies all the text columns in all the tables, and then, as OMG points out, write some queries for those columns.

    I would probably search the binary logs (assuming you have them, of course). When I am researching some database weirdness, I search our logs for some substring that is likely to be unique to the circumstances, then I can zero in on the exact statements in question.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Short My tables structure looks like that And here is Sql statements $stmt =
I have a short question. Im my current project I'm using LINQ-to-SQl. That is
Short question: is there a way to access the datatypes available in .net application
Long story short, I have a SQL file that I want to import as
Short Version Is there a way to force (or provide a hint to) Microsoft
consider this very short T-SQL code that does a test on a nullable column
Short Version: Does anyone know of a way --inside a SQL 2000 trigger-- of
I'm using LINQ to SQL and I'm wondering if there is a short cut
I try to create a short perl command that creates SQL inserts for my
Hi there I have a short question about database design. I also tried the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.