Reputation: 12011
Unable to perform New Database connection to Dbeaver
, throws Unable to load authentication plugin 'caching_sha2_password'
Initially I have set a root user called admin
and its password while setting the MySQl server which is different from below user soccertest
I have created soccertest user by running below query :
CREATE USER 'soccertest'@'localhost' IDENTIFIED WITH caching_sha2_password BY 'somepassword';
Query OK, 0 rows affected (0.02 sec)
I could see database available while running mysql > show databases
from the command prompt
Server Host: localhost:
Port: 3306
Database: soccerreact
Username : soccertest
Password: somepassword
Local Client: MySQL Server 8.0
Upvotes: 0
Views: 3565
Reputation: 1936
Try creating with mysql_native_password option..
ALTER USER 'soccertest'@'localhost' IDENTIFIED WITH mysql_native_password BY 'somepassword';
Grant all privileges on soccerreact.* to soccertest@localhost;
Upvotes: 1