MySQL 用于将 SQL 代码转换为图表的工具
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2837097/
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
Tool for convert SQL code to diagram
提问by Sajad Bahmani
can any one say some way to convert SQL code to data diagram like ERD ? for som DBMS like MySQL or general SQL
任何人都可以说某种方法将 SQL 代码转换为 ERD 之类的数据图吗?对于像 MySQL 或一般 SQL 这样的一些 DBMS
采纳答案by Sajad Bahmani
For MySQL can use sqlyog :
对于 MySQL 可以使用 sqlyog :
SQLyog MySQL GUI is the most powerful MySQL manager and admin tool, combining the features of MySQL Query Browser, Administrator, phpMyAdmin and other MySQL Front Ends and MySQL GUI tools in a single intuitive interface.
SQLyog MySQL GUI 是最强大的 MySQL 管理器和管理工具,在一个直观的界面中结合了 MySQL 查询浏览器、管理员、phpMyAdmin 和其他 MySQL 前端和 MySQL GUI 工具的功能。
回答by Ahmed M. Matar
using mysql Workbench do the following:
使用 mysql Workbench 执行以下操作:
1- file -> new model
1-文件->新模型
2- file -> import -> reverse engineer mysql create script
2-文件->导入->反向工程mysql创建脚本
select ur mysql file script
选择你的mysql文件脚本
and tick on place imported objects on a diagram
并勾选在图表上放置导入的对象
and press next and finish
然后按下一步并完成
回答by sstauross
Use MySQL WorkBench. It's perfect and absolutely compatible with MySQL, Oracle powered!
使用 MySQL 工作台。它与 MySQL 完美兼容,由 Oracle 提供支持!
Check it out here: MySQL Workbench
在这里查看:MySQL Workbench
回答by Dwight T
ModelRight, http://www.modelright.com/, is a good ERD application and is free for MySQL and ODBC connected databases. It reverse engineers from a DB, if you want to reverse engineer from SQL Script, you should check out Dezign for Databases, http://www.datanamic.com/
ModelRight,http://www.modelright.com/,是一个很好的 ERD 应用程序,对于 MySQL 和 ODBC 连接的数据库是免费的。它从数据库进行逆向工程,如果你想从 SQL 脚本逆向工程,你应该查看 Dezign for Databases,http://www.datanamic.com/