ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '123456'; https://blog.csdn.net/Steve_Hao/article/details/82895260