Mysql Log Parser is a Database Tools script
Overall rating: (N/A)
|
The script MySQL Log Parser is a Database Tools script (web database applications).
This a is a simple PHP command line utility that will parse a MySQL update log file and dump only updates to a particular database in a certain time interval. Currently there are no flags, you're prompted for all input. Usage:
bash-2.05$ php mysql_log_parser.php Enter the path to the log file to be processed:/path/to/update log.nnn
Enter the name of the database to extract:MyDB
Start Time (T= current time - your input here):864000
End Time (T = current time - your input here):35000
Enter the path to the output file:output.log
This would output the all update statements on the MyDB database during the time interval (864000 seconds ago, 35000 seconds ago).
|
 Write a comment about the script MySQL Log Parser
|