Two Ways MySQL Workbench Can Draw an ERD
Two Ways MySQL Workbench Can Draw an ERD
A. Reverse Engineer (from an existing database)
Menu:
Database → Reverse Engineer
Workbench connects to your DB, reads all schema metadata, and draws the ERD automatically.
B. Create a Model Manually (forward engineer)
Menu:
File → New Model
You create tables visually, and Workbench generates SQL from your ERD.
NB!
Make sure that all primary and foreign keys are identified, because the diagram will be drawn based of primary and foreign key definitions.
Comments
Post a Comment