mariadb 出现 Client does not support authentication protocol requested by server;consider upgrading MariaDB client的错误
解决方法:
进入mysql命令行,执行下面的语句:
use mysql;
update user set authentication_string=password(''),plugin='mysql_native_password' where user='root';