Can I Import an updated structure into a MySQL table without losing its current content?

后端 未结 6 1580
南旧
南旧 2021-02-08 01:30

We use MySQL tables to which we add new fields from time to time as our product evolves. I\'m looking for a way to export the structure of the table from one copy of the db, to

6条回答
  •  遇见更好的自我
    2021-02-08 02:20

    Lazy way: export your old data and struct, import your actual struct, import only your old data. Works to me in the test.

提交回复
热议问题