tags:

views:

14

answers:

1

Hi,

I have 2 db mysql at two locations, i need to copy the schema from first to the second one without hurting the data that is already existing in the II location.

Is it possible to achieve this?

Please experts help.

A: 

Databases are usually too complex to allow a simple "copy".

Use Toad's database comparison/scripting tools (or something like this: http://adamspiers.org/computing/mysqldiff/) to find the differences, check and run them manually.

SteveCav
Thanks, manually is fine, I thought something programmatically using queries can be done to achieve this.
Sharpeye500