MySQL Forums
Forum List  »  Backup

Re: How to Compare Two MySQL Dumps
Posted by: Rick James
Date: February 15, 2012 07:33AM

You have not explained why diff fails. Let me guess --

* There is a timestamp at the end. Remove it using some other tool.

* The INSERTs have lots of rows in them, making it so you cannot see the actual rows that differ. Change the parameters to mysqldump to put out one row per line. (perhaps --no-quick)

* Other things at the beginning. See various other options for limiting what is output.

Options: ReplyQuote


Subject
Views
Written By
Posted
3336
February 14, 2012 05:04AM
Re: How to Compare Two MySQL Dumps
1771
February 15, 2012 07:33AM
2281
February 16, 2012 08:40PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.