8

I have a mysql database and now I want to convert it into class diagram. Is there any way to convert mysql database to class diagram? I'm using MySql Workbench for design database

Sajitha Rathnayake
  • 1,688
  • 3
  • 26
  • 47

2 Answers2

11
  1. Open workbench and create a new Model
  2. Add a new Diagram
  3. Click on Database -> Reverse Engineer (Ctrl + R)
  4. Fill connection options and follow the steps
  5. You will see all the entities and their relationships (if any)
ediardo
  • 147
  • 5
4

ediardo answer is almost correct but ediardo missed important part. You must check on the 'Place imported objects on a diagram' in the Select Object section. Then click Execute.

Nilan
  • 106
  • 4