Hi Satya,

You might like to look at triggers here
http://dev.mysql.com/doc/refman/5.0/en/triggers.html You can set a
trigger to go off at any of the events you have noted below. This would
allow you to log the userid and any other relevant information you need.

Regards

David Logan
Database Administrator
HP Managed Services
148 Frome Street,
Adelaide 5000
Australia

+61 8 8408 4273 - Work
+61 417 268 665 - Mobile
+61 8 8408 4259 - Fax


-----Original Message-----
From: Satyanarayana_Kesani [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 13 December 2005 3:13 PM
To: mysql@lists.mysql.com
Subject: to track the changes in database mySQL

Hi all,
I got this mail Id from mySQL lists.I would like to request you for one
help.
Actually I need to track the changes(UPDATE,INSERT,DELETE and others)
done on the database in mySQL by different users. I need to know which
user has done what changes . I am using mySQL 5.0.16-nt.
I would like to know how I can create binary log or some other log for
the same?
Could you please help me on this? 
 
Thanks in advance
 
Thanks&Regards,
   Satya
 


DISCLAIMER:
This email (including any attachments) is intended for the sole use of
the intended recipient/s and may contain material that is CONFIDENTIAL
AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or
copying or distribution or forwarding of any or all of the contents in
this message is STRICTLY PROHIBITED. If you are not the intended
recipient, please contact the sender by email and delete all copies;
your cooperation in this regard is appreciated.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to