开发者

Copy only schema to existing mysql db

开发者 https://www.devze.com 2023-01-07 18:45 出处:网络
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.

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.

开发者_JAVA百科

Is it possible to achieve this?

Please experts help.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消