Converting an existing MyISAM database to InnoDB with Django

后端 未结 4 1602
鱼传尺愫
鱼传尺愫 2021-02-09 01:09

Is there anyway I can convert a full populated MyISAM database to InnoDB (in a way that will create all foreign key contraints, same way it would be if I ran the syncdb command

4条回答
  •  失恋的感觉
    2021-02-09 01:39

    This really has nothing to do with Django. It's entirely a MySQL thing, and there's documentation on just this type of thing directly from them: http://dev.mysql.com/doc/refman/5.5/en/converting-tables-to-innodb.html

提交回复
热议问题