简体   繁体   中英

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? 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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