输入以下命令:update mysql.user set authentication_string=PASSWORD('123'), plugin='mysql_native_password' where user='root';
输入以下命令:flush privileges;
输入以下命令:update mysql.user set authentication_string=PASSWORD('123'), plugin='mysql_native_password' where user='root';
输入以下命令:flush privileges;