Open source ER diagramming tool for mysql

后端 未结 6 501
执念已碎
执念已碎 2021-01-05 02:28

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,

相关标签:
6条回答
  • 2021-01-05 02:30

    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.

    0 讨论(0)
  • 2021-01-05 02:35

    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.

    0 讨论(0)
  • 2021-01-05 02:39

    Generate ERD with PHPMyAdmin is also a better option. PHPMyadmin added this functionality from version 3.4

    detail step to generate ERD : http://goo.gl/0z3vFE

    You can refer to PHPMyAdmin documentation for more info: http://www.phpmyadmin.net/documentation/#pmadb

    0 讨论(0)
  • 2021-01-05 02:47

    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.

    0 讨论(0)
  • 2021-01-05 02:51

    You might check out DBDesigner ...

    Now known as MySQL Workbench

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

    0 讨论(0)
  • 2021-01-05 02:51

    I am using Mysql Workbench 6.1. By default the diagram will look crunched for large number of tables, making it difficult to figure out relationship between tables. Many tables will overlay on other tables. This is because, the default layout size is small.

    In the menu, Go to Model >> "Diagram properties and size".

    Change width and size to some thing big (for example width 23 and height 5) - enter image description here

    Then in the menu, Go to Arrange >> Autolayout.

    Now we should see a clean diagram with all the relations. Now we can re-adjust width and height, more meaningfully

    0 讨论(0)
提交回复
热议问题