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

后端 未结 6 1579
南旧
南旧 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:14

    No it isn't possible because MySql is using mariaDB version. In mariaDB version structure of a table are arranged in memory and that memory shared with your byte data. So when we try to import a structure (or a table) it alter that whole memory block.

提交回复
热议问题