错误:在客户端主目录“mysql 二进制文件”中找不到 dbeaver 实用程序“mysql.exe”

问题描述 投票:0回答:3

当我尝试导入SQL文件并使用dbeaver软件执行时,提示以下错误:
我已经在 PC 上安装了 XAMPP。

mysql dbeaver
3个回答
43
投票

您有两种可能性。

首先将mysql.exe和mysqldump.exe复制到dbeaver文件夹中

或者您更改

Local Client
连接向导中的位置


2
投票

我将本地客户端更改为 5.27,它对我有用。


0
投票

我遇到了这个,对我有用的是我通过

安装/重新安装了mysql客户端
brew install mysql-client

之后,使用此代码在我的本地计算机中找到 mysqldump exe

find / -name "mysqldump" 2>/dev/null

然后会显示路径列表,就像这样

/System/Volumes/Data/Applications/XAMPP/xamppfiles/bin/mysqldump
/System/Volumes/Data/opt/homebrew/bin/mysqldump
/System/Volumes/Data/opt/homebrew/Cellar/mysql-client/8.2.0/bin/mysqldump
/System/Volumes/Data/opt/homebrew/Cellar/mysql/8.2.0_1/bin/mysqldump

复制mysqldump的路径,在我的例子中我复制了

/System/Volumes/Data/opt/homebrew/Cellar/mysql-client/8.2.0/bin/mysqldump

并从末尾删除“bin/mysqldump”

/System/Volumes/Data/opt/homebrew/Cellar/mysql-client/8.2.0/

并将其粘贴到 dbeaver 本地路径。

PS。这是针对 MacOS 的。

© www.soinside.com 2019 - 2024. All rights reserved.