shahrzad amrollahi
shahrzad amrollahi

Reputation: 1

how to get code from ER Diagram I designed in mysqlWorkBench?

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

Answers (2)

Sathish D
Sathish D

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

enter image description here

Upvotes: 1

Sid M
Sid M

Reputation: 4354

Go to File then Export and then Forward Engineer SQL CREATE Script.

Hope this works for you

Upvotes: 0

Related Questions