GUI 1
On pressing the synchroninzation tab at the top, this GUI will be shown. Here the host, username, password, port and database name for the databases to be synchronized will be given.
On the basis of the given information, connections of databases are established with their respective servers.
On pressing "Go" the next GUI will be shown.
GUI 2
In this GUI, corresponding tables of sourcedb and targetdb will be shown.
Red, blue and green color indicates structure difference, type difference and data difference respectively. In front of the table name the presence of red, blue or green button will indicate that there is a difference in structure, type or data. The colored buttons are clickable and on pressing the green button in front of table name 'Person', the data of target table will be synchronized with that of source table.
Also the corresponding query generated for the required synchronization, will be shown in the text area at the bottom. Color of the button(data sync, structure sync or type sync) will change after it has been clicked to confirm that the command has been saved for execution. This way any type of synchronization user want, will be saved.
I am also thinking to add a remove button after each query in the text area, to facilitate the user to revert any synchronization selected previously.
Once the "Execute All" button is pressed all the saved synchronizations will be executed. This way user can synchronize selective tables from the databases.
The presence of the "+", "-" signs with source and target table Organization shows that this table is present in the source and not present in the target.
The "Synchronize databases" button will synchronize the target database with the source database and this comprises of applying all the differences on the target database.