[MySQL] Generate ERD in MySQL workbench

To present the solution design, Entity-Relationship Diagram (ERD) is still one of the common diagram to present data and its relationship. But it is the nightmary if draw it as it is complicated and human error.

For such cases, there are many database management tools can generate ERD. In MySQL workbench, it also can generate with plugin. Details as below.

Steps to generate ERD

  1. Open Reverse Engineer wizard.
    In MySQL workbench, Select Database > Reverse Engineer...
  2. Connect target database.
    In Reverse Engineer wizard, input database information and click Next.
  3. Collect database details.
    It will load for while to get database server. Click Next when load completed.
  4. Select target database.
    Select database which would like to generate ERD, and then click Next.
  5. Start reverse engineering.
    It will show page on notify start scan database schema, click Next to continue.
  6. Select tables to be render.
    It will show scanned tables in database. Select tables to be show. By default, all tables selected. After remove tables if needed, then click Execute.
  7. Verify result.
    ERD will generate, check column and data type align with database or not.
About C.H. Ling 260 Articles
a .net / Java developer from Hong Kong and currently located in United Kingdom. Thanks for Google because it solve many technical problems so I build this blog as return. Besides coding and trying advance technology, hiking and traveling is other favorite to me, so I will write down something what I see and what I feel during it. Happy reading!!!

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.