![](/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.