Foreign keys are available for InnoDB tables only and are supported since MySQL version 3.23.44 (3.23.50 or higher recommended). To view or change table type use the Table Properties dialog. Add Foreign Key
To add a foreign key to the table 1 Open the InnoDB table in the Table Editor.
2 Open the Foreign Keys tab.
3 Right-click and select the Add Foreign Key item from the popup menu.
This opens the Foreign Key Editor dialog, where you can select fields for the key.
To add a foreign key to the table 1 Open the InnoDB table in the Table Editor.
2 Open the Foreign Keys tab.
3 Right-click and select the Add Foreign Key item from the popup menu.
This opens the Foreign Key Editor dialog, where you can select fields for the key.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货