To create a new database diagram using MySQL Workbench:
- Click File > New Model from the menu
- Create a new schema by clicking the + icon next to Physical Schemas
- Add tables by clicking Add Tables, then add/configure their columns in the bottom pane.
- Create relationships and any other configurations by using the various tabs
- Create a diagram by clicking Model > Create Diagram from Catalog Objects
The diagram will be created. You can rearrange the tables to a more suitable layout by clicking and dragging.
Below are screenshots for the above steps.
Create a New Model
Click File > New Model from the menu:
Create a New Schema
Create a new schema by clicking the + icon next to Physical Schemas:
Add Tables, Columns
Add tables by clicking Add Tables, then add/configure their columns in the bottom pane:
Create Relationships, etc
Create relationships and any other configurations by using the various tabs:
Generate the Diagram
Create a diagram by clicking Model > Create Diagram from Catalog Objects:
The Diagram
The diagram will be created:
Rearrange if Necessary
You can rearrange the tables by clicking on the tables and dragging them to provide a more readable layout: