MySQL Workbench EER Diagramm - how to change storage engine?

后端 未结 2 1444
一个人的身影
一个人的身影 2021-01-31 09:09

I use MySQL Workbench 5.2.38. and I have made an EER Diagram. But on export I got surprised with InnoDB as defined storage engine. Altering the table afterwards is not an option

相关标签:
2条回答
  • 2021-01-31 09:47

    It's not very obvious but when editing a table there is a blue arrow on the right. If you click this you get more options where you can alter the storage engine.

    enter image description here

    0 讨论(0)
  • 2021-01-31 09:47

    Global preferences should be respected by default in the Workbench Model Editor. If not, you should file a bug about this issue.

    However, here's another solution that I've tried and it worked:

    1. In the Model Editor go to Model --> Model Options...
    2. Uncheck the Use Global Settings checkbox at the bottom of the dialog that appeared.
    3. Go to the Model: MySQL tab and select in the Default Storage Engine combo box the storage engine you'd like to use.

    Once you do this the generated script will use the storage engine you selected.

    0 讨论(0)
提交回复
热议问题