从PowerDesigner中生成的SQL脚本,无法在SQLManager2007LiteforMySQL的SQLEditor中运行,可以生成表,但是无法生成索引,以及外键关联。同时,无法找到生成ForeignKey的图形化界面
后来发现,默认的表的storageEngine是MyISAM,需要将其改成InnoDB,保存以后,才能看到ForeignKey选项卡,如下图所示
从PowerDesigner中生成的SQL脚本,无法在SQLManager2007LiteforMySQL的SQLEditor中运行,可以生成表,但是无法生成索引,以及外键关联。同时,无法找到生成ForeignKey的图形化界面
后来发现,默认的表的storageEngine是MyISAM,需要将其改成InnoDB,保存以后,才能看到ForeignKey选项卡,如下图所示