通过MySQL的工作台,用于创建和管理MySQL数据库的图形化界面创建的数据库文件节省了数据库设计,被称为能效比(增强实体关系)模式,定义了一个数据库表,视图,程序,权限和其他结构。
MWB文件用于保存数据库的工作进度,同时也正在开发。一旦能效比型号齐全, MySQL的工作台可以生成从MWB文件中的MySQL数据库。
以上资料来源wenjiangeshi网,仅供参考
10down voteaccepted
In the menu click "Database" and then "Forward engineering" (shortcut CTRL+G).
UPDATE:
Your .mwb file is a proprietary format, which also holds information of the graphical representation in Workbench. Your generated .sql file is a script, which your MySQL server needs to interpret. To create the database you designed via command line write something like this in the console of your choice:
mysql -u yourUser -p yourDatabase <yourFile.sql
You can omit "yourDatabase" when you create it with your script.
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)