forums › forums › SQLyog › Using SQLyog › Schema Synchronization Scripting
- This topic is empty.
-
AuthorPosts
-
-
August 10, 2009 at 6:03 pm #11623Keith DavisParticipant
I know how to script the data sync, but what about the schema? Can this be done? It's for a failover server we have.
-
August 11, 2009 at 4:53 am #29439MaheshMember
Yes.. “Generate script” should contain “Create table … ” statements too, if target database is empty ( no tables present).
We have added this in our issue tracker here http://code.google.com/p/sqlyog/issues/detail?id=1134
BTW: You can use “Schema Synchronization” feature to make schema identical between database(s).
-
August 11, 2009 at 7:43 am #29440peterlaursenParticipant
Schema Sync is not scriptable. It is an interactive feature only.
-
August 11, 2009 at 7:56 pm #29441Keith DavisParticipant
Our database is every changing and the database backup is not empty. I could drop it first, but that means the entire database would have to be written every time – too much additional traffic.
-
August 12, 2009 at 6:54 am #29442nithinMember
Hello,
I'm sorry to tell you that we don't understand the exact problem you are facing.
From the 1st post we understood like that you wanted to sync your databases but the schema is not same, So my colleague suggested you to use the Schema sync tool to make the schema(source and target) same.
But your last post I didn't understand clearly, Do you want to drop the target database and sync? If so what makes you to do like that? Is it because the schema are different?
please explain the issue in detail step by step so we can help you and provide you the solution quickly.
Thanks
Nithin
-
August 12, 2009 at 7:48 am #29443peterlaursenParticipant
I understand you want to be able to run Schema Sync unattended/scheduled. Is this correct?
-
August 12, 2009 at 1:16 pm #29444Keith DavisParticipantpeterlaursen wrote on Aug 12 2009, 02:48 AM:I understand you want to be able to run Schema Sync unattended/scheduled. Is this correct?
That is correct.
-
August 12, 2009 at 7:12 pm #29445peterlaursenParticipant
added to our issue tracker here:
http://code.google.com/p/sqlyog/issues/detail?id=1138
also there was an old request:
http://code.google.com/p/sqlyog/issues/detail?id=560
No decisions taken at the moment!
-
-
AuthorPosts
- You must be logged in to reply to this topic.