I have several backups of my database, and I'm trying to figure out if there is a way to compare the data in the backups to see how the data changes over time. I do not have a timestamp for the fields I want to compare, but I have a unique identifier in the row. Backups are .sql files created using mysqldump.
Is there any way to do this?
There are many comparison tools in MySQL, including the MySQLDiff tool ( http://www.mysqldiff.org/ ). There is also a command line interface that can be found here:
http://devzone.intellitree.com/projects/intellitree-cli-extension-to-mysqldiff/
See the previous StackOverFlow entry for a visual comparison tool similar to this (plus some other solutions):
https://stackoverflow.com/questions/218499/mysql-diff-tool
Theoretically, you can import your backups as a second database, and then write a PHP script that connects to your SQL server and iterates through the elements using a unique identifier, comparing it with that.
diff , .
diff
, WinMerge , . . .
mysqldump, . (.. Diff unix), .
- , .
, - MySQL.
, , .
,
-R
pydumpy https://code.google.com/p/pydumpy/ (mirror: https://github.com/miebach/pydumpy)
pydumpy
, diff
, mysql .
Source: https://habr.com/ru/post/1708701/More articles:ASP.Net Webparts: How to Hide a Web Part? - c #Каковы различия между программированием в ИТ-отделе и отделе разработки продукта? - development-environmentGet the window handle of the last activated window - c ++Break the long command line testing method - c ++Rails and metaphors MVC - ruby-on-railsSimplification of expression - schemeНасколько релевантен Альянс OpenAjax для среднего веб-разработчика? - javascriptUsing WSDL to send and receive in C # - c #If you use Google Checkout, do you still need to use ActiveMerchant / Spree / some payment gateway in Rails? - ruby-on-railspossible type of database using dat, idx files - databaseAll Articles