Don Rhummy
Don Rhummy

Reputation: 25830

How do I generate a SQL script from my diagram in MySQL Workbench?

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?

Upvotes: 54

Views: 47770

Answers (1)

Dirk McQuickly
Dirk McQuickly

Reputation: 2139

Try: File->Export->Forward Engineer SQL CREATE Script

Upvotes: 115

Related Questions