反向工程 MySQL 和 PostgreSQL DB 的应用程序?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/670450/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Application to reverse engineer MySQL & PostgreSQL DB?
提问by Raúl Roa
Is there an application to reverse engineer an existing database in mysql and/or postgre?
是否有应用程序可以对 mysql 和/或 postgre 中的现有数据库进行逆向工程?
I'm interested in obtaining the DB diagram from an existing one, similar as it can be done in MSSQL Server
我对从现有的数据库图获取感兴趣,类似于它可以在 MSSQL Server 中完成
回答by Bill Karwin
For MySQL, try MySQL Workbench.
对于 MySQL,请尝试MySQL Workbench。
For both MySQL and PostgreSQL, try TOAD Data Modeler.
对于 MySQL 和 PostgreSQL,请尝试TOAD Data Modeler。
If you use the open-source diagram app Dia, there are several toolsto generate Dia diagrams from SQL databases including MySQL and PostgreSQL.
如果您使用开源图表应用Dia,则有多种工具可以从 SQL 数据库(包括 MySQL 和 PostgreSQL)生成 Dia 图表。
update:MySQL Workbench 5.2 supports reverse-engineering diagrams from a live database in addition to an SQL script. MySQL Workbench 5.2 just announcedtheir Release Candidate 1 (as of 5/12/2010).
更新:除了 SQL 脚本之外,MySQL Workbench 5.2 还支持来自实时数据库的逆向工程图。MySQL Workbench 5.2 刚刚宣布了他们的 Release Candidate 1(截至 2010 年 5 月 12 日)。
回答by Sarath
SchemaSpyis a very good option for reverse engineering. For diagramming bit it uses another tool GraphViz. For everything to work together make sure GraphViz is installed and its path to its bin is accessible to the SchemaSpy.
SchemaSpy是逆向工程的一个很好的选择。对于图表位,它使用另一个工具GraphViz。为了让一切协同工作,请确保安装了 GraphViz 并且 SchemaSpy 可以访问其 bin 的路径。
Here is a sample output.
这是一个示例输出。
回答by Edu Zamora
I recommend DBeaver: multi-platform, free, open source, connects to most popular DB engines and supports reverse engineering.
我推荐DBeaver:多平台、免费、开源、连接最流行的数据库引擎并支持逆向工程。
I have tried reverse engineering both a MySQL DB and a PostgreSQL DB and it worked like a charm :)
我尝试过对 MySQL DB 和 PostgreSQL DB 进行逆向工程,它的工作原理非常棒:)
回答by Mitch Wheat
Reverse engineer from many popular DBMS systems, including Oracle 9i and 10g, SQL Server, My SQL, Access, PostgreSQL and others
许多流行的 DBMS 系统的逆向工程,包括 Oracle 9i 和 10g、SQL Server、My SQL、Access、PostgreSQL 等
回答by Tim
pgDesigner for postgres, mysql workbench for mysql...
用于 postgres 的 pgDesigner,用于 mysql 的 mysql 工作台...