无法执行与“Dbeaver”的新数据库连接,抛出“无法加载身份验证插件”
Unable to perform New Database connection to `Dbeaver`, throws `Unable to load authentication plugin
无法执行到 Dbeaver
的新数据库连接,抛出 Unable to load authentication plugin 'caching_sha2_password'
最初我在设置 MySQl 服务器时设置了一个名为 admin
的根用户及其密码与以下用户不同 soccertest
我通过以下查询 运行 创建了 soccertest 用户:
CREATE USER 'soccertest'@'localhost' IDENTIFIED WITH caching_sha2_password BY 'somepassword';
查询正常,0 行受影响(0.02 秒)
在命令提示符
运行 mysql > show databases
时,我可以看到数据库可用
Server Host: localhost:
Port: 3306
Database: soccerreact
Username : soccertest
Password: somepassword
Local Client: MySQL Server 8.0
尝试使用 mysql_native_password 选项创建..
ALTER USER 'soccertest'@'localhost' IDENTIFIED WITH mysql_native_password BY 'somepassword';
Grant all privileges on soccerreact.* to soccertest@localhost;
无法执行到 Dbeaver
的新数据库连接,抛出 Unable to load authentication plugin 'caching_sha2_password'
最初我在设置 MySQl 服务器时设置了一个名为 admin
的根用户及其密码与以下用户不同 soccertest
我通过以下查询 运行 创建了 soccertest 用户:
CREATE USER 'soccertest'@'localhost' IDENTIFIED WITH caching_sha2_password BY 'somepassword';
查询正常,0 行受影响(0.02 秒)
在命令提示符
运行mysql > show databases
时,我可以看到数据库可用
Server Host: localhost:
Port: 3306
Database: soccerreact
Username : soccertest
Password: somepassword
Local Client: MySQL Server 8.0
尝试使用 mysql_native_password 选项创建..
ALTER USER 'soccertest'@'localhost' IDENTIFIED WITH mysql_native_password BY 'somepassword';
Grant all privileges on soccerreact.* to soccertest@localhost;