前向工程师在MySQL Workbench中无所作为 [英] Forward engineer is doing nothing in the MySQL Workbench

查看:117
本文介绍了前向工程师在MySQL Workbench中无所作为的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对MySQL Workbench经验很少,需要一些帮助来解决问题.我从GUI中的.MWB文件加载了新的EER图,并尝试使用Forward engineer将其转换为SQL.最初,我已连接到localhost,当我按下Forward engineer...时,什么也没有发生.下图如下所示,我正在使用Mac OS Sierra操作系统.

I have little experience with MySQL Workbench and need some helps to figure out an issue. I loaded a new EER diagram from a .MWB file in the GUI and was trying to convert it into the SQL with Forward engineer. Initially, I was connected to the localhost and when, I press the Forward engineer..., nothing happens. The figure is as following, I'm working in the Mac OS Sierra operating system.

我在这里想念的是什么?一些专家的建议会有所帮助.

What I am missing here ? Some advice will help from the more expert users.

我使用MySQL Workbench 6.3版本进行工作

推荐答案

我在MySQL Workbench(macOS)的最新版本中遇到了相同的问题.肯定是以前的一些错误,我在正向工程方面没有任何问题.

I've had this same issue with the latest release of MySQL Workbench (macOS). It's definitely some bug as previously, I didn't have any issues forward engineering.

这是一种解决方法:

通常,您将转到:

  • Database > Forward Engineer...

要解决此错误,请转至:

To work around this bug, instead go to:

  • Database > Synchronize Model...
  • 这将查找其余所有架构中当前不存在的开放ERD,并允许您以这种方式对工程进行正向工程.
  • 警告:如果您打开了许多ERD并且不想同步所有ERD,这可能会变得很麻烦,所以请确保已检查正确的ERD!

我知道这是一个迟来的答案,但是此解决方案使我可以对以前未触发的ERD进行正向工程(正如您所描述的,MySQL Workbench中什么也没有触发).

I know this is a late answer, but this solution allowed me to forward engineer an ERD which previously was not firing (just as you described, nothing from MySQL Workbench).

在尝试查找解决方案和进行故障排除时,我发现了您的信息,这是通过个人轶事得知的.它可能已经发布在堆栈的其他位置(试图找到链接,但找不到它),但希望对您有所帮助:)

I found your post when trying to find a solution, and while troubleshooting, heard via a personal anecdote about this work around. It may already be posted elsewhere on stack (tried to find link but couldn't find it), but hope this helps :)

这篇关于前向工程师在MySQL Workbench中无所作为的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆