views:

42

answers:

3

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
+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
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
+2  A: 

Use a DIFF tool - here are some graphical ones (both are free):

OMG Ponies