mysql 设置不了短串密码怎么办 You must reset your password using ALTER USER statement before executing this statement.

set global validate_password_policy=0; 

set global validate_password_policy=0; 

再授权

GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION;

猜你喜欢

转载自www.cnblogs.com/wangyang108/p/9063918.html