Comparison of the two mysql databases and the save of their difference if file