Bug #48962 | Sync decides to drop all and start fresh | ||
---|---|---|---|
Submitted: | 21 Nov 2009 21:45 | Modified: | 20 Jul 2012 6:52 |
Reporter: | Aaron Wallis | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench | Severity: | S2 (Serious) |
Version: | 5.2.8 | OS: | MacOS (10.6.2) |
Assigned to: | Assigned Account | CPU Architecture: | Any |
Tags: | model, schema, sync |
[21 Nov 2009 21:45]
Aaron Wallis
[23 Nov 2009 13:39]
Johannes Taxacher
Hi Aaron, in a case like this, where you have an existing database, you're supposed to rev-engineer the existing database using WBs reverse engineering feature. this should make WB aware that this is an already existing schema (there's quite a bunch of data which is set in the background of the model which enables the synchronization to work correctly and this information is not present in case you're creating the model from scratch). We will check if we can also make it work for the approach you've been using, when re-creating a existing database from scratch in WB and later try to synch changes to an existing schema on a DB server.
[20 Jul 2012 6:52]
Philip Olson
This has been fixed as of the soon-to-be-released Workbench 5.2.41, and here's the changelog entry: The Synchronization wizard has been changed to allow forcing synchronization of schemas that have the same name but an unexpected "last known name", which would cause a confusing scenario of the target database being recreated from scratch.