我厌倦了在每个项目开始时打开Dia并创建数据库图。是否有一种工具可以让我选择特定的表,然后根据MySQL数据库为我创建数据库图?最好是允许我在之后编辑图表,因为没有设置外键…

以下是我所描绘的图表(请原谅糟糕的数据设计,这不是我设计的。在这个例子中,让我们关注图表的概念,而不是它所代表的实际数据;)):

参见全尺寸图


当前回答

Here is a tool that generates relational diagrams from MySQL (on Windows at the moment). I have used it on a database with 400 tables. If the diagram is too big for a single diagram, it gets broken down into smaller ones. So you will probably end up with multiple diagrams and you can navigate between them by right clicking. It is all explained in the link below. The tool is free (as in free beer), the author uses it himself on consulting assignments, and lets other people use it. http://www.scmlite.com/Quick%20overview

其他回答

Workbench中的“逆向工程数据库”模式只是付费版的一部分,不是免费版。

尝试MySQL工作台,以前的DBDesigner 4:

http://dev.mysql.com/workbench/

这有一个“逆向工程数据库”模式:

数据库->反向工程师

MySQL工作台工作起来很有魅力。

我只是将数据库结构备份到SQL脚本,并在MWB 5.2.37 for Windows的“Create EER Model From SQL script”中使用。

在Mac上,SQLEditor会做你想做的事情。

Here is a tool that generates relational diagrams from MySQL (on Windows at the moment). I have used it on a database with 400 tables. If the diagram is too big for a single diagram, it gets broken down into smaller ones. So you will probably end up with multiple diagrams and you can navigate between them by right clicking. It is all explained in the link below. The tool is free (as in free beer), the author uses it himself on consulting assignments, and lets other people use it. http://www.scmlite.com/Quick%20overview