Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Audit Trail

Posted on 2004-04-19
1
610 Views
Last Modified: 2008-02-01
Hi, I am a newcomer for the EE. I am a student and now I have a few questions to ask , hope that you can help me out.

These are my system development tools ->
Database : Mysql
Language : JSP,java,js

I got to do a audit trail report which is keep track what data in the database have been changed by users.
This report will show all the changes to master data.
In order to do this report, I got to keep track every data in the database so that I can know what data have been changed and when it changed.
 
Can I know Mysql got provide any build-in functions so that I can check it out when and what data has been changed for each table?

If there is no build-in function, do you have any advise for me in order to complete this assignment?

Thank you.

0
Comment
Question by:ttlguk
1 Comment
 
LVL 2

Accepted Solution

by:
chrisbolt earned 20 total points
ID: 10940208
Enable mysql's binary log, which is usually meant for replication.

http://dev.mysql.com/doc/mysql/en/Binary_log.html
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foreword This is an old article.  Instead of using the MySQL extension that was used in the original code examples, please choose one of the currently supported database extensions instead.  More information is available here: MySQLi / PDO (http://…
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question