Results 1 to 5 of 5

Thread: Watch DB traffic

  1. #1
    Join Date
    Apr 2005
    Posts
    16

    Watch DB traffic

    Hi,

    I would like to know if there is any way to watch all the queries, inserts, updates, deletes, etc, been executed against a MySql Server.

    Thanks!

  2. #2
    Join Date
    May 2005
    Posts
    1
    Not sure exactly what it is that you are meaning by traffic, or how you want to see it but one way is to use MySQL Administrator (download from mysql site).

    Go to the Health and then select either teh memory Health or Status Variables tab. You may create your own custom graphs or use this client to view system variables normally viewable through system queries.

  3. #3
    Join Date
    Apr 2005
    Posts
    16
    Well, I actually wanted to see the SQL statements executed by the server.

  4. #4
    Join Date
    Dec 2002
    Location
    Cape Town, South Africa
    Posts
    75
    There are 2 logs that may be useful - the binary log (for all update, delete and insert statements), and the general query log (for all statements). See theMySQL manual for details.

  5. #5
    Join Date
    Apr 2005
    Posts
    16
    Thanks!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •