USE mysql; UPDATE user SET authentication_string = PASSWORD('newpasswd') WHERE user = 'dbadmin' AND host = 'localhost'; FLUSH PRIVILEGES;
SHOW VARIABLES LIKE 'validate_password%';
set global validate_password_length=6;
京公网安备 11010502049817号