"Unable to load authentication plugin." when trying to connect to MariaDB

By default, MariaDB uses an old type of authentication not supported by JDBC connections.  It is also less secure. The user you are trying to connect with is likely using a setting called OLD_PASSWORD:


The issue can be resolved by upgrading the users password to the new version.  Please see the documentation here: