[mysqld]default_authentication_plugin= mysql_native_password
[mysqld]
default_authentication_plugin= mysql_native_password
...inside /etc/mysql/my.cnf