4.1之前:mysql_old_password
https://mariadb.com/docs/server/reference/plugins/authentication-plugins/authentication-plugin-mysql_old_password
https://dev.mysql.com/doc/mysql-security-excerpt/5.7/en/account-upgrades.html
4.1开始:mysql_native_password
https://mariadb.com/docs/server/reference/plugins/authentication-plugins/authentication-plugin-mysql_native_password
5.7开始:sha2
https://dev.mysql.com/doc/mysql-security-excerpt/5.7/en/caching-sha2-pluggable-authentication.html
还有验证协议:https://mariadb.org/history-of-mysql-mariadb-authentication-protocols/