mysql-authentication-plugin-caching-sha2-password-is-not-supported

1
2
/etc/my.cnf
default-authentication-plugin=mysql_native_password
1
SELECT user, host, plugin FROM mysql.user;
1
mysql > CREATE USER 'username'@'hostname' IDENTIFIED WITH mysql_native_password BY 'password';