Sign up ×
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.

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
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 6 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.