找到my.ini[mysqld]下方添加: default_authentication_pugin=mysql_native_password (已经有default_authentication_pugin就覆盖掉)重启mysql服务