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 3492202
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T11:43:47+00:00 2026-05-18T11:43:47+00:00

From time to time I need to parse my mysql binlog to find out

  • 0

From time to time I need to parse my mysql binlog to find out which query changed a specific value in my database.

A query entry looks like this:

# at 335156
#101208  5:55:57 server id 1  end_log_pos 335265    
         Query  thread_id=1772  exec_time=0 error_code=0
SET TIMESTAMP=1291784157/*!*/;
UPDATE table SET value = 0 WHERE id = 185555

Now If I figured out the specific query I have the thread_id but where do I find the corrosponding user / ip from this entry?

  • 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-18T11:43:48+00:00Added an answer on May 18, 2026 at 11:43 am

    First you have to enable the genereral query log http://dev.mysql.com/doc/refman/5.5/en/query-log.html

    Then you can find all connects and what queries they ran there. I word of warning, this log gets big so use with care.

    This is an example of my connect as root to my local server just now.

    101208 10:55:18      5667 Connect  root@localhost on 
                         5667 Query select @@version_comment limit 1
    101208 10:55:26      5667 Query show databases
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to parse out time tokens from a string where the tokens are
I need to represent the time in (%m/%d/%Y %H:%M:%S) format from the float value
I have a website where I need to parse date/time strings from receipts. These
I am getting some response from server side which i need to parse but
I need to parse a date/time string from user input, and convert to UTC
From time to time I need to run a full build of the entire
I have a one-time need to create a file from an iOS mutable array.
I need to convert html files to excel from time to time. There are
I have a wx.Frame . I need to change the content from time to
I use ScheduledExecutorService in my application. I need to use it from time to

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.