Open source ER diagramming tool for mysql

24,590

Solution 1

You might check out DBDesigner ...

Now known as MySQL Workbench

http://dev.mysql.com/downloads/workbench/5.0.html

Solution 2

SchemaCrawler is a free, open source tool that can generate E-R diagrams, with the help of GraphViz. You can use regular expressions to select the tables and columns you want to display. Relationships are inferred from commonly used naming conventions.

Solution 3

I've had some success using two commercial (but relatively cheap!) tools- but I still haven't found any really solid open source ones after months of looking.

  • MyEclipseIDE is a subscription product, I think it's around $60 a year. It's a set of bundled plugins for Eclipse, one of them is an ERD analyzer that works OK. If you're programming in Java (or another eclipse-supported language), it may be worth it.
  • SQLMaestro for MySQL: This one is a bit more expensive, with a $99 noncommercial / $179 single seat license. The ERD it generates is much better, and it provides other tools that make it easier to administer and maintain a more complex schema.

My understanding is that MySQL Workbench is still under active development, but they've been banging on it for a long time without really wrapping it up. Maybe now that Sun owns them, they'll get it together.

Solution 4

Check out Vertabelo.

It's an online database modeler that works under Chrome browser.

It provides you with:

  • DB model versioning and validation,
  • generating SQL scripts for particular database,
  • supports collaboration - allows sharing DB model with other members of your team,
  • supports reverse enginnering.

Moreover it's free of charge.

Share:
24,590
Zak
Author by

Zak

Updated on July 29, 2022

Comments

  • Zak
    Zak over 1 year

    I want to reverse engineer (import into diagram form) the database definition dump of a database I have, then since no foreign keys are defined in this particular database, I want to be able to manually create the table to table key mappings (using crow feet notation if possible).

    I've taken a look at MySQL Workbench, and it gets me 85% of the way there. The nice little relationship lines won't show up though, and the auto arrange is horrible. A quick search of google turns up several other options, so I can evaluate these on my own, but:

    Can I get some feedback from you guys for which are your favorite tools to use for this scenario? Why do you like that(your) particular tool?

    My intended purpose is to take a legacy database, and train jr. engineers on the organization of the DB. Visual aids are nifty. My fallback option is to recreate an ER diagram by hand. Not fun for 250+ tables.

    • Suresh Kamrushi
      Suresh Kamrushi over 8 years
      detail step to generate ERD : goo.gl/0z3vFE
  • Zak
    Zak over 14 years
    with the new version, it's much better
  • t.j.
    t.j. over 2 years
  • Aaron Spalding
    Aaron Spalding over 2 years