I have my app working fine on local, but when I tried to connect to remote server I get this error: CLIENT_PLUGIN_AUTH is required.
Check that you do have a version issue.
The Spring Boot project creator will download the latest MySQL connector (currently Version 8) so if you are running an older version of MySQL then the CLIENT_PLUGIN_AUTH error probably results from this.
You can convince maven to use an older version of the connector (as in Satish's reply) or add the connector outside of Spring Boot:
Remove the mysql-connector-java dependency from your pom.xml
Download the mysql-connector-java for your MySQL – usually the one from your distro.
With: Project -> Properties -> Java Build Path
select the Libraries tab.
And add External JAR:
/usr/share/java/mysql-connector-java-5.1.17.jar
or something similar.