I have 2 MySQL dump files. I want to find the table data difference between 2 tables.
+1
A:
How about this?
sort dump1.txt > sorted_dump1.txt
sort dump2.txt > sorted_dump2.txt
diff -w sorted_dump1.txt sorted_dump2.txt
eumiro
2010-10-01 16:03:17
+2
A:
Maybe you can give a tool called mysqldiff a go, I haven't tried it myself yet but it's been on my list for a while.
CharlesLeaf
2010-10-01 16:04:31
As far as I understand, mysqldiff is about differences in table structure, not about differences in the data itself. This may or may not be what Tree is looking for...
titanoboa
2010-10-04 09:24:14