Why the SDK can not find this plugin

When I’m not using the root user to run the openmrs-sdk or mysql to connect or login the MySQL server, I failed, and report this ERROR 1698. So, the folowing words is my solution:

When I using MySQL 5.7, the root user’s plugin is not mysql_native_password, so we need to change the plugin.

Run these commands:

mysql> USE mysql;
mysql> UPDATE user SET plugin='mysql_native_password' WHERE User='root';
mysql> FLUSH PRIVILEGES;
mysql> exit;

The original solution link is here

1 Like