<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>MySQL Forums - Workbench - Schema Compare, Diff, Synch</title>
        <description>Forum for Schema Compare, Diff and Synch. </description>
        <link>http://forums.mysql.com/list.php?159</link>
        <lastBuildDate>Tue, 24 Nov 2009 20:25:39 +0000</lastBuildDate>
        <generator>Phorum 5.2.1-alpha</generator>
        <item>
            <guid>http://forums.mysql.com/read.php?159,292502,292502#msg-292502</guid>
            <title>Stored procedure code generation patch (no replies)</title>
            <link>http://forums.mysql.com/read.php?159,292502,292502#msg-292502</link>
            <description><![CDATA[ I'm using Workbench OSS 5.2.8 Beta Rev. 4572, and I've experienced bug <a rel="nofollow"  href="http://bugs.mysql.com/bug.php?id=39929">http://bugs.mysql.com/bug.php?id=39929</a>.<br />
So I downloaded the source and came up with a small patch to remove the line with the database name after the 'USE {database}//' line in the generated code for dropping and creating stored routines.<br />
I've attached the patch file to the bug. Hopefully it will be included in your next build.]]></description>
            <dc:creator>Rogelio Jacinto</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Mon, 23 Nov 2009 17:09:13 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,292292,292292#msg-292292</guid>
            <title>Sync decides to drop all and start fresh (1 reply)</title>
            <link>http://forums.mysql.com/read.php?159,292292,292292#msg-292292</link>
            <description><![CDATA[ Hello there,<br />
<br />
I've been using MySQL Workbench to model my database structure which I originally built using other tools.<br />
I've created the model in MW and generated a diff report to ensure the migration is sound (i.e. do a dry-run) and I was pretty shocked to see that it decided to drop all my tables and recreate them all!<br />
<br />
A similar thing happens when I run a sync, it doesn't think the schema in the model and the actual DB schema are the same. (see in screenshot: <a rel="nofollow"  href="http://emberapp.com/d2kagw/images/mysqlworkbench">http://emberapp.com/d2kagw/images/mysqlworkbench</a>) <br />
<br />
Any ideas how to make MySQL WB match up the schemas?<br />
<br />
I'm running Workbench 5.2.8 B Beta on OS X 10.6.2.<br />
<br />
Cheers<br />
Aaron.]]></description>
            <dc:creator>Aaron Wallis</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Sat, 21 Nov 2009 21:17:02 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,289939,289939#msg-289939</guid>
            <title>Linux FC11 - mysql workbench crashes when trying to reference PK from FK tab (1 reply)</title>
            <link>http://forums.mysql.com/read.php?159,289939,289939#msg-289939</link>
            <description><![CDATA[ So you go to the Table, select Foreign Key tab, enter the Foreign key name and try to reference table with the primary key, it crashes.<br />
<br />
<br />
Anyone else experiencing this? Possible workaround?]]></description>
            <dc:creator>Alan Ahmetspahic</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Fri, 06 Nov 2009 17:39:35 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,289617,289617#msg-289617</guid>
            <title>When using synchronization, sql statement is lost, causing the synchronization error (1 reply)</title>
            <link>http://forums.mysql.com/read.php?159,289617,289617#msg-289617</link>
            <description><![CDATA[ When using synchronization, sql statement is lost, causing the synchronization error<br />
<br />
The vision is : mysql-6.0.0-alpha-win32<br />
<br />
Here is the error message：<br />
<br />
[ERROR] Slave: Error 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'wh' at line 1' on query. Default database: 'supermarket'. Query: 'update goods_stores set count='10.0',cost='0.0' wh', Error_code: 1064<br />
<br />
'where' has been cut into 'wh' , so the Error happened.<br />
<br />
Please answer, thank you]]></description>
            <dc:creator>john kebo</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Thu, 05 Nov 2009 05:19:24 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,288759,288759#msg-288759</guid>
            <title>Database Sync not working? (1 reply)</title>
            <link>http://forums.mysql.com/read.php?159,288759,288759#msg-288759</link>
            <description><![CDATA[ I just filed Bug #48444, does anyone have any insight on this?<br />
<br />
Model&lt;-&gt;DB Sync was the catalyst for purchasing SE.<br />
<br />
Description:<br />
The database synchronization does not work.<br />
<br />
The sync will populate an empty database, but will not detect any<br />
changes made to the model thereafter.<br />
<br />
The sync also has problems with views and stored procedures, the SQL<br />
generated in invalid MySQL SQL.<br />
<br />
If you run a catalog diff, you do see changes so that logic is working.<br />
<br />
How to repeat:<br />
Create an empty database.  Sync the model down to the empty database. <br />
Add a new column to a table in the databaes.<br />
<br />
<br />
Suggested fix:<br />
No known work around.<br />
<br />
The logic for the catalog diff feature *does* detect the changes so<br />
maybe a code rewrite is in order leveraging that logic?]]></description>
            <dc:creator>Joshua Ostrom</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Mon, 02 Nov 2009 07:05:38 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,286562,286562#msg-286562</guid>
            <title>How can I see the differences between 2 databases with different names? (no replies)</title>
            <link>http://forums.mysql.com/read.php?159,286562,286562#msg-286562</link>
            <description><![CDATA[ On my MySQL server i have 3 databases<br />
1. release_1<br />
2. release_2<br />
3. trunk<br />
<br />
How can i see the differences between 2 of these databases.<br />
<br />
When I try to reverse engineer &quot;trunk&quot; and and Synchronize Model  with &quot;release_2&quot; the mysql Workbench wants to sync:<br />
trunc  --&gt;   n/a<br />
n/a    --&gt;  release_2<br />
<br />
how can I sync them ????<br />
<br />
I've tried to rename trunk to release_2 and I get the following :<br />
<br />
release_2  --&gt;   n/a<br />
n/a        --&gt;   release_2<br />
<br />
<br />
please help :)]]></description>
            <dc:creator>plamen vasilev</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Fri, 16 Oct 2009 16:02:58 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,286532,286844#msg-286844</guid>
            <title>What is the best schema (-1 replies)</title>
            <link>http://forums.mysql.com/read.php?159,286532,286844#msg-286844</link>
            <description><![CDATA[  -- moved topic -- ]]></description>
            <dc:creator>Daniel Painchaud</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Fri, 16 Oct 2009 12:40:25 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,285453,285453#msg-285453</guid>
            <title>Database synchronization NOT working - frustrating ! (2 replies)</title>
            <link>http://forums.mysql.com/read.php?159,285453,285453#msg-285453</link>
            <description><![CDATA[ I don't know if this problem has been posted before and I apologize it if I haven't read the documentation enough, but here's my problems.<br />
<br />
1. I'm using MWB 5.1.18 on Windows. <br />
2. MySQL 5.1<br />
3. I have just 5 tables in my model (.mwb file)<br />
<br />
Here are the steps :<br />
4. Forward engineer the model to my schema - works fine.<br />
5. Modify datatype of a column / add a column / add constraints.<br />
6. Save the file<br />
7  Menu : Database --&gt; Synchronize Model --&gt; follow till the end - shows success message.<br />
8. I check my table using Toad Freeware for MySQL - NO CHANGE !<br />
<br />
MWB does not synchronizing with DB. I've tried this several time. It's as if it's picking up the old file and applying it.<br />
<br />
9. Drop all tables in the schema - via Toad.<br />
10. In MWB model - I add a column to TableX. Save file.<br />
11. Do step 7 again - but only synchronize TableX. Rest is ignored.<br />
12. Goto Toad - TableX is present with new column.<br />
13. Goto MWB - change TableX.someColumn from VARCHAR(45) to VARCHAR(100) - Save.<br />
14. Do step 7 - I see the SQL statements do not contain any ALTER statement. It has : <br />
&lt;b&gt;<br />
SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;<br />
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;<br />
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL';<br />
<br />
SET SQL_MODE=@OLD_SQL_MODE;<br />
SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS;<br />
SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS;<br />
&lt;/b&gt;<br />
<br />
15. Click Execute. Shows 'Synchronization Completed Successfully'<br />
16 Goto Toad. TableX.someColumn IS STILL VARCHAR(45) !! Why ??<br />
<br />
Am I doing something wrong ??<br />
<br />
I will try this on Snow Leopard.]]></description>
            <dc:creator>Shantanu Upadhyaya</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Fri, 09 Oct 2009 18:51:53 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,284760,284760#msg-284760</guid>
            <title>Workbench drops entire database any help please (1 reply)</title>
            <link>http://forums.mysql.com/read.php?159,284760,284760#msg-284760</link>
            <description><![CDATA[ Hi There,<br />
<br />
Extremely frustrated here 30-40's of hours of lost work trying out workbench for the first time!<br />
<br />
Opened workbench from the menu clicked database-&gt;synchronize model selected my database once the wizard was finished the entire database was lost!!! <br />
<br />
Its gone... Any suggestions would be greatly appreciated. Have no backup of db.<br />
<br />
Regards,<br />
<br />
Daniel]]></description>
            <dc:creator>dan carter</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Tue, 06 Oct 2009 18:42:52 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,284028,284028#msg-284028</guid>
            <title>MySQL Workbench:  Free and easy schema diff and synch (no replies)</title>
            <link>http://forums.mysql.com/read.php?159,284028,284028#msg-284028</link>
            <description><![CDATA[ MySQL Workbench:  Free and easy schema diff and schema synch<br />
<a rel="nofollow"  href="http://www.pythian.com/news/4162/free-and-easy-schema-diff-and-patch">http://www.pythian.com/news/4162/free-and-easy-schema-diff-and-patch</a>]]></description>
            <dc:creator>Edwin DeSouza</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Wed, 30 Sep 2009 16:37:07 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,270295,270295#msg-270295</guid>
            <title>problem  with MySQL cross schema FKey constraints (no replies)</title>
            <link>http://forums.mysql.com/read.php?159,270295,270295#msg-270295</link>
            <description><![CDATA[ Is   there  any    way  to  maintain  cross module  fk relations  in  mysql<br />
<br />
<br />
<br />
<br />
Thanks&amp;Regards<br />
tmadugula]]></description>
            <dc:creator>Thirumal Reddy</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Sun, 05 Jul 2009 17:46:05 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,269529,269529#msg-269529</guid>
            <title>Error sync with store proc (2 replies)</title>
            <link>http://forums.mysql.com/read.php?159,269529,269529#msg-269529</link>
            <description><![CDATA[ When i sync model and there are only changes in store proc, generated scripted dose not have USE command.]]></description>
            <dc:creator>Pavel Dobryakov</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Tue, 30 Jun 2009 16:22:11 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,265742,265742#msg-265742</guid>
            <title>Alter script (3 replies)</title>
            <link>http://forums.mysql.com/read.php?159,265742,265742#msg-265742</link>
            <description><![CDATA[ Every time I perform an alter script, it always generates a change to one of my tables (drops an index and recreates it as a unique index) - even though there is no change (it is defined as a unique index in my create script I compare against).  Every time I run an alter I need to strip out this change.  Any ideas as to why this keeps coming up as a change?  Also, I have several other unique indexes defined that do not produce this problem.  I am using OSS ver 5.0.22 rev 3118.]]></description>
            <dc:creator>Al Lombardo</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Tue, 23 Jun 2009 18:43:02 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,265510,265510#msg-265510</guid>
            <title>problem with Export | Alter SQL script (no replies)</title>
            <link>http://forums.mysql.com/read.php?159,265510,265510#msg-265510</link>
            <description><![CDATA[ After I Export|SQL Create my schema, I shouldn't have any changes if I immediately do an Alter script. I, however, always have one change which always come up. The SQL alter drops an index and re-creates it as a unique index on a table called status. I've checked the SQL created by the SQL create and it is defined as a unique index. Every time I do an alter script, I need to remove this entry from the script. Any ideas as to why this table always generates a change?]]></description>
            <dc:creator>Al Lombardo</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Wed, 03 Jun 2009 15:19:51 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,263180,263180#msg-263180</guid>
            <title>Synchronize &amp;amp; Schema Names (3 replies)</title>
            <link>http://forums.mysql.com/read.php?159,263180,263180#msg-263180</link>
            <description><![CDATA[ I am creating a master schema in MySQL Workbench that would like to be able to use when setting up a site for a new client.  The hosting service I'm using doesn't give full control over the schema names.  I was wondering if there's a way to do comparisons/synchronizations and either ignore or specify the source and target schemata.  Thanks!]]></description>
            <dc:creator>Edward Savage</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Wed, 10 Jun 2009 18:09:05 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,261726,261726#msg-261726</guid>
            <title>N/A model problem (1 reply)</title>
            <link>http://forums.mysql.com/read.php?159,261726,261726#msg-261726</link>
            <description><![CDATA[ Hi.<br />
I have this ghost N/A model in my file that is linked to the lowercase name of my database. I also have a valid model linked to the real database name. I think that I accidentally created the ghost model when I first tried out the Workbench.<br />
But now when I do a model sync this N/A model is still there and is linked to the source with the lowercase name of my real db. And even if I x the arrow between them it still creates a <br />
DROP SCHEMA IF EXISTS `lowercase_db_name`;<br />
line in the sync script. I can delete this line every time to avoid the problem. But if I do not delete it then the DROP shema actually deletes my real database.<br />
So any idea how I could get rid of this ghost N/A model that is stuc around. Or move my real model to a new file?]]></description>
            <dc:creator>Cosmin Cimpoi</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Fri, 08 May 2009 15:53:55 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,258256,258256#msg-258256</guid>
            <title>Uncaught Exception during synchronization (1 reply)</title>
            <link>http://forums.mysql.com/read.php?159,258256,258256#msg-258256</link>
            <description><![CDATA[ Hi all,<br />
<br />
I'm quite new with MySQL Workbench, and already experience some troubles.<br />
While synchronizing my shemata with my MySQL database (for the first time in the forward-side : shemata to db), I get an error :<br />
<br />
The Database Synchronization form shows &quot;Executing... Synchronizing selected objects&quot;, then an error pop with text &quot;Unknown Exception caught in c:\document and settings\mysqldev\my documents\visual studio 2005\projects\workbench\backend\windows\wb.wr\src\Wb.h at line 1010&quot;<br />
<br />
if this could help ...]]></description>
            <dc:creator>Brice Targat</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Fri, 17 Apr 2009 14:57:27 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,256276,256276#msg-256276</guid>
            <title>diff and stored procedures (1 reply)</title>
            <link>http://forums.mysql.com/read.php?159,256276,256276#msg-256276</link>
            <description><![CDATA[ I have been testing the SE version and cannot get the schema difference to function correctly with stored procedures. it seems that it only picks up the presence/absence of procedures and does not compare the body.<br />
<br />
As a simple illustrative example I performed a sync on a local database, removed the body of one procedure completely (it was still present it just did nothing). Then i performed a synchronize and the workbench reported no difference. I also tried a diff report and exporting a sql alter script.<br />
<br />
is this just a bug? has that feature not been implemented yet?]]></description>
            <dc:creator>trash mail</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Thu, 09 Apr 2009 07:06:35 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,255412,255412#msg-255412</guid>
            <title>Synch via command-line? (3 replies)</title>
            <link>http://forums.mysql.com/read.php?159,255412,255412#msg-255412</link>
            <description><![CDATA[ Thanks Edwin for the response on the Newbie forum =).<br />
<br />
I am using Workbench SE, but so far I have only been able to determine that I can use the Schema Synch feature via the GUI.  Is there a way to use the Schema Synch feature via a command-line interface with Workbench?  Or is there any other way I would be able to use the Schema Synch feature in Workbench with a batch file or VB script or any other script?<br />
<br />
I'm looking for a synch feature that could be used in product upgrades where a command-line utility would be used to compare the latest schema SQL file with the database that is local to the machine that the upgrade is run on.  It would then execute the appropriate ALTER TABLE commands to synch up the database with the latest schema SQL file.  This upgrade be done via an installer, and so I would like to avoid requiring a user to interact with the GUI to upgrade his/her database.<br />
<br />
Thanks for the help!<br />
Jake]]></description>
            <dc:creator>Jake Chung</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Wed, 01 Apr 2009 13:59:25 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,248423,248423#msg-248423</guid>
            <title>Applying difference to DB schema (4 replies)</title>
            <link>http://forums.mysql.com/read.php?159,248423,248423#msg-248423</link>
            <description><![CDATA[ Hi,<br />
<br />
I have 2 database DEV and LIVE. We make all our schema changes to DEV and when do a release cycle we need to apply these change to LIVE. The only way I've figured out how to do this is to:<br />
<br />
Dump the DEV schema<br />
Dump the LIVE data<br />
Drop the LIVE database<br />
Create the LIVE database from the DEV schema<br />
Restore the LIVE data<br />
<br />
Obviously that's FAR from ideal as it's very dangerous and it breaks replication - every time! Ideally what I would like to do is:<br />
<br />
exec [MAGICSCRIPT] which creates the relevant ALTER TABLE statements<br />
Apply ALTER TABLE statement to LIVE database.<br />
<br />
I did some research on this and I found some third party tools but they seem to cumbersome for what I'm trying to do. Is there a simpler way or is it time to dust of the bash scripting books and start coding?<br />
<br />
Thanks<br />
<br />
:Leon]]></description>
            <dc:creator>Leon de Beer</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Fri, 24 Apr 2009 09:11:12 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,246851,246851#msg-246851</guid>
            <title>Foreign key lines disappeared (1 reply)</title>
            <link>http://forums.mysql.com/read.php?159,246851,246851#msg-246851</link>
            <description><![CDATA[ Hello,<br />
<br />
With Workbench Standard Edition 5.0.29, after synching with the db, all foreign key lines between tables have been disappeared. But the foreign key information is still there on the tables.<br />
<br />
I've searched bug db and google but couldn't find a similar problem.<br />
I'll be glad if anyone gives me an idea...<br />
<br />
Thanks]]></description>
            <dc:creator>Ziphyre Marco</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Tue, 10 Feb 2009 08:21:41 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,245078,245078#msg-245078</guid>
            <title>Synch errors due to not dropping foreign keys? (1 reply)</title>
            <link>http://forums.mysql.com/read.php?159,245078,245078#msg-245078</link>
            <description><![CDATA[ I consistently have synch problems after altering fields or adding new tables or fields and their relationships.  If I delete the foreign keys surrounding the &quot;problem&quot; table in the target database, the synch process will complete successfully.  It appears that Workbench needs to learn when to DROP foreign keys so that changes can be made, and then re-insert the foreign keys at the end of the script after the changes have been made.<br />
<br />
When I synch 2 actual databases using SQLyog, their script shows this action.  FK's dropped at the beginning, and then you seem them being reinserted at the end.<br />
<br />
I really love the Workbench ERD tool and don't want to give it up, but synching will become unmanageable soon if I have to constantly delete foreign keys so the synch can take place.<br />
<br />
Please let me know if I am in error...]]></description>
            <dc:creator>Marc Ford</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Fri, 30 Jan 2009 10:07:42 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,241694,241694#msg-241694</guid>
            <title>Synchronizing the diagram from the Database doesn't seem to work (1 reply)</title>
            <link>http://forums.mysql.com/read.php?159,241694,241694#msg-241694</link>
            <description><![CDATA[ Hi All,<br />
I've built a Diagram from a set of tables in a database, then those tables changed from another source and I've attempted (on a test database) to use Sychronize to update my Diagram and it always seems to update the tables in the database from my diagram rather than updating my Diagram from the tables.<br />
<br />
Can someone tell me how to get this to work?<br />
<br />
Help would be greatly appreciated.<br />
<br />
Thanks<br />
<br />
Dan]]></description>
            <dc:creator>Dan Grube</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Thu, 15 Jan 2009 16:39:11 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,231395,231395#msg-231395</guid>
            <title>Workbench runs out of memory when creating a model (1 reply)</title>
            <link>http://forums.mysql.com/read.php?159,231395,231395#msg-231395</link>
            <description><![CDATA[ Hi,<br />
<br />
Just started using Workbench and was hoping to use it to perform schema differencing. Version 5.0.26 SE<br />
<br />
I was able to reverse engineer the database. However, when I try to create a diagram it runs out of memory. The db has approx 170 tables so it's not that large. Has anyone seen this problem?<br />
<br />
Also, when I try and perform a synchronization Workbench doesn't seem to align the model with the database. The diff tree shows:<br />
! mydb -&gt; !N/A<br />
<br />
Underneatch !mydb -&gt; !N/A I DO see the correct scham names.<br />
What is the first level denote?<br />
<br />
<br />
The beginning of the diff script syas create schema if not exists 'mydb'<br />
Why so?<br />
<br />
Where can I get more info on how to use this tool? The docs that I have seen are not detailed at all.<br />
<br />
Thanks<br />
<br />
<br />
note: mydb is NOT the name of the schema. <br />
<br />
<br />
It looks as if Workbench isn't aligning the database with the model]]></description>
            <dc:creator>Bill Ennis</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Mon, 27 Oct 2008 18:02:51 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,230888,230888#msg-230888</guid>
            <title>Synchronizing database structure and/or data (1 reply)</title>
            <link>http://forums.mysql.com/read.php?159,230888,230888#msg-230888</link>
            <description><![CDATA[ Hello,<br />
<br />
I'm looking for a fully automated way to synchronize just the structure and just the data of two databases (preferably FOSS).<br />
<br />
The script I've used previously works something like this:<br />
 mysqldump dev_db --no-data &gt; dev_structure.sql<br />
 mysqldump live_db --insert-ignore --no-create-db &gt; live_data.sql<br />
 mysql -Dlive_db &lt; dev_structure.sql<br />
 mysql -Dlive_db &lt; live_data.sql<br />
(the actual query has more options but I think it's irrelevant to post here.)<br />
When a column is removed from the dev database and this script is run, it fails when it tries to insert values into the removed column. INSERT IGNORE doesn't ignore this that error.<br />
<br />
I've asked the #mysql IRC channel for help. I was asked to look at Maatkit (http://www.maatkit.org/). I haven't figured out a way to fix my problem with it yet.<br />
<br />
While searching the forums I've come across MySQL Workbench, SQLyog, ModelRight, <a rel="nofollow"  href="http://www.artfulsoftware.com/infotree/queries.php?&amp;bw=1276#624">http://www.artfulsoftware.com/infotree/queries.php?&amp;bw=1276#624</a><br />
The first three are GUI tools, however I need a way to synchronize the databases in an automated way.<br />
<br />
<br />
== Background ==<br />
We're using a development, test and live environment. Each environment has its own version of the database.<br />
In the development version we make changes to the database structure. When it works, the same changes are made to the test db and eventually to the live db.<br />
<br />
While testing we also import the data from the live database to work with 'real' data.<br />
<br />
This means the structure goes this way:<br />
Dev =&gt; Test =&gt; Live<br />
<br />
And the data goes the other way:<br />
Live =&gt; Test =&gt; Dev<br />
<br />
<br />
Does anybody have suggestions?<br />
<br />
Thanks in advance.]]></description>
            <dc:creator>Brice B</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Tue, 21 Oct 2008 07:28:29 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,229060,229060#msg-229060</guid>
            <title>Workbench SE does NOT handle cross-db foreign key references? (2 replies)</title>
            <link>http://forums.mysql.com/read.php?159,229060,229060#msg-229060</link>
            <description><![CDATA[ it is useful (for many reasons, for example back-up policy) to have different DataBases (Schema?) running under the same engine. They also could be designed to host tables related to different business categories.<br />
MySql, of course, let me able to define cross-db (cross-schema) foreign-key references.<br />
<br />
Does Workbench handle cross-db (cross-schema) FK reference?<br />
<br />
<br />
thank you,<br />
lorenzo]]></description>
            <dc:creator>lorenzo lucioni</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Mon, 06 Oct 2008 16:58:22 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,228219,228219#msg-228219</guid>
            <title>&amp;quot;Error: Invalid Object Name&amp;quot; during Forward Engineer SQL Alter Script (2 replies)</title>
            <link>http://forums.mysql.com/read.php?159,228219,228219#msg-228219</link>
            <description><![CDATA[ When I choose<br />
<br />
   File &gt; Export &gt; Forward Engineer SQL Alter Script<br />
<br />
and provide it a .sql file to compare with the current model<br />
<br />
I get a window:<br />
<br />
   &quot;Error: Invalid Object Name&quot;<br />
<br />
and the SQL diff tree does not appear.<br />
<br />
running version 5.0.25 build 3427 for windows xp<br />
<br />
any workarounds or suggestions how to figure out what object name is invalid are welcome....<br />
<br />
thanks]]></description>
            <dc:creator>Malcolm Cook</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Mon, 27 Oct 2008 18:17:56 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,226637,226637#msg-226637</guid>
            <title>Error 1292: Incorrect date value: '0000-00-00' stops synchronizing (1 reply)</title>
            <link>http://forums.mysql.com/read.php?159,226637,226637#msg-226637</link>
            <description><![CDATA[ Hi,<br />
<br />
I really have problems synchronizing my databases. Quite often the synchronization breaks with the error:<br />
<br />
Error 1292: Incorrect date value: '0000-00-00' for column 'date' at row 123<br />
<br />
The only solution I know is to change all &quot;0000-00-00&quot; dates in the db. <br />
<br />
Is there a way to force MySQL Workbench into ignoring this error and continue the synchronization?<br />
<br />
Thanks for you help!!!<br />
<br />
Georg]]></description>
            <dc:creator>Georg Menhard</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Sun, 21 Sep 2008 22:55:46 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,225047,225047#msg-225047</guid>
            <title>Connect to database on network Table 'information_schema.schemata' doesn't exist (1 reply)</title>
            <link>http://forums.mysql.com/read.php?159,225047,225047#msg-225047</link>
            <description><![CDATA[ when i want to connect  the tool to the database who is in an computer of the network,<br />
i have a error<br />
Opening connection.<br />
OK<br />
<br />
Fetching schemata list.<br />
Table 'information_schema.schemata' doesn't exist<br />
Failed to load schemata.<br />
i don't understand what's means this error, <br />
when i do it in localhost, it's works correctly]]></description>
            <dc:creator>servian frederic</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Mon, 08 Sep 2008 09:49:49 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,222174,222174#msg-222174</guid>
            <title>How to synchronize database between local and remote server (1 reply)</title>
            <link>http://forums.mysql.com/read.php?159,222174,222174#msg-222174</link>
            <description><![CDATA[ Currently, I'm developing a system consists of two database (one in local, another one in the remote server - centralized database). I want to do some programming to enable synchronization between this two databases. I'm using .NET, any idea?<br />
<br />
Thank you.]]></description>
            <dc:creator>Cheah Zhi Hao</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Mon, 19 Jan 2009 21:57:52 +0000</pubDate>
        </item>
    </channel>
</rss>
