简体   繁体   English

MySQL复制数据转储脚本不起作用

[英]MySQL Copy Data Dump Script Not Working

因此,我尝试使用由MySQL工作台生成的脚本将数据转储加载到MySQL数据库中,但是,无论我做什么,我似乎都无法摆脱此错误。 "wbcopytables.exe doesn't exist in the supplied path. Please set 'wbcopytables_path' with the proper path(eg to Workbench binaries)" 。事实是,路径设置正确(安装了默认的目标MySQL工作台。在Powershell中抛出此错误。当我尝试运行脚本时通过cmd线,它只是关闭而没有任何反应。

I ran into the same problem, I've used the script in the past but it wasn't working after updating windows to 10 from 7. I had to do a fresh install of MySQL Workbench, so the bug might be in the latest version? 我遇到了同样的问题,我过去曾经使用过该脚本,但是在将Windows从7更新到10后,它无法正常工作。我必须重新安装MySQL Workbench,因此该错误可能是最新版本? Not sure. 不确定。 Here's the fix... 解决方法是...

Remove... 去掉...

if not ["%wbcopytables_path%"] == [] set "wbcopytables_path=%wbcopytables_path%"set "wbcopytables=%wbcopytables_path%wbcopytables.exe"

And replace with... 并替换为...

set "wbcopytables=%wbcopytables_path%\wbcopytables.exe"

worked for me, note sure if it's a "proper" fix, none the less, best of luck. 为我工作,请注意,这是否是一个“正确”的解决方法,尽管如此,祝您好运。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM