Does MySQL keep a transaction log and if so where coudl I find it?
A number of rows have mysteriously been deleted from a table and I want to try and see how and when it occurred...
Thanks
Does MySQL keep a transaction log and if so where coudl I find it?
A number of rows have mysteriously been deleted from a table and I want to try and see how and when it occurred...
Thanks
If you turned on - mysql can track binary log, which contains all the modifications (to be clear - it contains the queries that had changed something).
But anyway, it is useless if you do not have the initial dump, which precedes the binlog turning on. Also i suppose if you made the dump and turned on binlog - you would not ask such question :-S
If you're using MySql on Windows, there's a file located in C:\Program Files\MySQL\MySQL Server 5.0\data
(assuming a C: drive for the installation target and MySql version 5.0), that is called %COMPUTERNAME%.log that contains the commands that have been executed.