Ms.
Mary William
MySQL
(MySQL Workbench)
Creating ERD on MySQL - Workbench:
1. Open “MySQL workbench”
2. Choose the second column called “Data Modeling”
3. Choose “Create EER Model from existing Database” to create your ERD
based on the database you already created on MySQL administrator.
4. Click on “Store in Vault” then type the password “root”
5. Click on “Next”
6. Choose your “database name”
7. Click on “Next”
8. Click on “Execute”
9. Click on “Next”
10.Click on “Finish”
Relationship participation: Optionality/Mandatory:
- To change the relationship participation double click on the relationship
line.
- Choose the “Foreign key tab” at the bottom of the page.
- Uncheck “Mandatory” to change the participation to optional.
Save Diagram:
- Click on “File” at the top left corner.
- Choose “Save Model as”.
Note: If you closed Workbench without saving Model, you will have to
restart your computer to be able to use workbench again.