解决方法: ALTER USER root@localhost IDENTIFIED WITH mysql_native_password BY '123.com'; 转载于:https://www.cnblogs.com/HQ0422/p/11439045.html