How to copy table between two models in Mysql workbench?

后端 未结 9 1941
小鲜肉
小鲜肉 2020-12-28 14:42

I am doing some databese thing, I need copy one table from one model to another, but i try many ways there no effect. Is there any way for doing this?

9条回答
  •  温柔的废话
    2020-12-28 15:32

    You can get the crate table query from table info and use the same query on different database instance.

    1. show create table TABLENAME.content and copy the query;
    2. Run the generated query on another Db instance connected.

提交回复
热议问题