Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I've created an EER diagram with tables, foreign keys, etc in MySQL Workbench and now I want to generate a ".sql" script that will create this database. How do I do that?

share|improve this question

closed as off-topic by RolandoMySQLDBA, Mark Storey-Smith, StanleyJohns, Mat, dezso Aug 7 '13 at 10:27

If this question can be reworded to fit the rules in the help center, please edit the question.

3  
This question appears to be off-topic because it is about something that can be found in the MySQL documentation (with some effort) –  RolandoMySQLDBA Aug 6 '13 at 20:46
1  
If that were a criterion to close a question on SO then we probably can do this for 50% or more questions (event tho this particular one was simple). –  Mike Lischke Aug 13 '13 at 12:20

1 Answer 1

up vote 3 down vote accepted

See File -> Export -> Forward Engineer SQL Create Script...

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.