4

I am using MySQL Workbench and created an EER Diagram with several classes, columns, relationships, etc... now I have been looking and wondering if it is possible to let this application auto-generate these tables in my database? Up until now I haven't found it.

dgilperez
  • 10,716
  • 8
  • 68
  • 96
RazorAlliance192
  • 722
  • 9
  • 23

3 Answers3

9

You can try File -> Export -> Forward Engineer SQL Create Script. Here you can generate the SQL Script corresponding to your EER diagram, and execute this script in your database engine.

Pierre
  • 2,552
  • 5
  • 26
  • 47
1

check out this tutorial from the MySQL website,HERE and HERE it shows how to create a connection between Workbench and the server and after that you can forward engineer any tables and such into a database. Hope it's what you're looking for.:)

Kofi
  • 15
  • 1
  • 6
0

Database > Forward engineer... is a wizard who will guide you to the creation of the database you have modeled.

  • Is this an update to [PierreF's 2014 answer](https://stackoverflow.com/a/23041548)? Did the menus change, or is this option available in both? (Which version?) – greybeard Jun 26 '21 at 10:46