Reputation: 1
I am trying to make a database in MySQL, but when I draw my ER diagram in MySQL Workbench I don't know how to get code from it and copy it into a MySQL script.
How do I do this?
Upvotes: 0
Views: 5918
Reputation: 5034
Select the File, Export, Forward Engineer SQL CREATE Script menu item to start the Forward Engineer SQL Script wizard.
Please refer: http://dev.mysql.com/doc/workbench/en/wb-forward-engineering-sql-scripts.html
Upvotes: 1
Reputation: 4354
Go to File
then Export
and then Forward Engineer SQL CREATE Script
.
Hope this works for you
Upvotes: 0