![](/img/trans.png)
[英]MySQL Running SQL Script error - [WinError 32] The process cannot access the file because it is being used by another process:
[英]Error executing SQL script; The process cannot access the file because it is being used by another process:'C:\\Users\\......\....cnf'
我和你有同样的错误,我已经按照以下步骤解决了这个问题:
希望这对你也有用!
我也遇到了这个问题,就像@Alexandre-St-Amant 一样,我的脚本的大小禁止按照@vika 的建议打开脚本。
在注意到@Kwaadpepper 的建议之前,我尝试使用通过 mysqlsh.exe 连接到我的数据库,然后使用 SOURCE <data_file>。 这具有允许使用 SOURCE 链接脚本的额外好处,解决了@Adrian-Moldovan 的问题。
当然,这并没有使用mysql-workbench来解决问题。
我的 sql 脚本也有同样的问题。 您可以尝试重新安装客户端和工作台。 您应该遵循一个版本的应用程序。 在那之后,我的脚本就起作用了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.