Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to convert mysql database to class diagram

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

like image 276
Sajitha Rathnayake Avatar asked Feb 19 '14 05:02

Sajitha Rathnayake


2 Answers

  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)
like image 180
ediardo Avatar answered Sep 29 '22 10:09

ediardo


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.

like image 39
Nilan Avatar answered Sep 29 '22 10:09

Nilan