从现有 MySQL 数据库生成 Visio ERD
是否有一种简单的方法可以在 Visio 中从现有 MySQL 数据库生成 ERD?我知道这在 MySQL Workbench 中是可能的,但我要求它在 Visio 中完成。或者我可以将 MySQL Workbench 中创建的 ERD 转换为 Visio 可以打开的格式吗?
Is there a simple way to generate an ERD in Visio from an existing MySQL Database? I'm aware that this is possible in MySQL Workbench, but I have a requirement for it to be done in Visio. Or otherwise can I convert an ERD made in MySQL Workbench to a format Visio can open?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,可以在 Visio 中完成。您需要使用逆向工程功能。
这是一篇解释基本步骤的博客文章:
http://maniish.wordpress.com/2007/11/24/reverse-engineer-mysql-in-visio-2007/
Yes, it can be done in Visio. You need to use the reverse engineer feature.
Here is a blog post explaining the basic steps:
http://maniish.wordpress.com/2007/11/24/reverse-engineer-mysql-in-visio-2007/
以上都是正确的。您还必须特别注意应用程序的架构。我们解决了 MySQL ODBC 配置的 UserDSN 在逆向工程对话框中不可见的问题,包括使用多个版本的 ODBC。我们最终发现必须在 64 位 Windows 计算机上安装 32 位 ODBC 驱动程序,因为安装的 Visio 2K10 是 32 位应用程序。
起初我们安装了 64 位 ODBC,因为这是一台 64 位机器(听起来合乎逻辑)。我终于找到一篇文章提到应用程序架构是ODBC的决定因素。安装 32 位 MySQL ODBC 驱动程序(位于之前的驱动程序之上)并删除/重新创建 DSN 连接后,驱动程序在对话框中可见,并且逆向工程过程开始工作。
The above is all correct. You also must pay special attention to your application's architecture. We fought the MySQL ODBC configured UserDSN not being visible in the Reverse Engineer dialog, including using multiple versions of ODBC. We finally figured out we had to install 32 bit ODBC drivers on a 64 bit Windows machine because the Visio 2K10 that was installed was a 32 bit app.
At first we installed 64 bit ODBC because this was a 64 bit machine (sounded logical). I finally found an article that mentioned the app architecture was the determining factor for ODBC. After installing the 32 bit MySQL ODBC drivers (right over the top of the previous ones) and delete/recreate the DSN connection, the drivers were visible in the dialog and the Reverse Engineer process worked.