File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- cdc_audit - Software to automate change data capture via triggers for mysql .
1+ cdc_audit - Software to automate change data capture via triggers for MySQL .
22
33cdc_audit presently consists of two scripts:
4- - a script to automatically generate mysql audit tables and triggers.
4+ - a script to automatically generate MySQL audit tables and triggers.
55 - (experimental) a script to auto sync new rows in audit tables to a CSV file.
66
77
@@ -99,7 +99,7 @@ Usage Examples
9999 php cdc_audit_gen_mysql.php -d <db> [-h <host> -d <db> -u <user> -p <pass>]
100100
101101 SQL file(s) will be generated in ./cdc_audit_gen.
102- They can be applied to your database using the mysql command-line client, eg:
102+ They can be applied to your database using the MySQL command-line client, eg:
103103
104104 $ mysql -u root <database > < ./cdc_audit_gen/table1.sql
105105
@@ -126,9 +126,10 @@ Usage Examples
126126Known Issues
127127==============
128128
129- - If you make a change to the source table schema then the audit table and
130- trigger will not reflect the change. You will need to alter the audit table
131- manually then re-run cdc_audit_gen_mysql to recreate the triggers.
129+ - If you make a change to the source table schema the audit table (unless dynamic
130+ columns are used) and trigger will not reflect the change. You will need to
131+ re-run cdc_audit_gen_mysql to recreate the triggers then if using standard MySQL
132+ columns manually alter the audit table.
132133
133134 - no locking is performed on the target CSV file at present. This could
134135 cause file corruption.
You can’t perform that action at this time.
0 commit comments