0

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?

  • 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
  • 2
    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
8

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

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