出現此錯誤時:ERROR 1819 (HY000): Your password does not satisfy the current policy requirements,出現這個問題怎麼辦?ui
修改validate_password_policy參數的值。set
global
validate_password_policy=0;
code
一、修改用戶密碼。ALTER
USER
USER
() IDENTIFIED
BY
'12345678'
;
rem
二、建立用戶。CREATE USER 'db_user'@'%' IDENTIFIED BY '12345678';get
三、受權。GRANT ALL PRIVILEGES ON *.* TO 'db_user'@'%' IDENTIFIED BY '12345678' WITH GRANT OPTION;require
四、刷新。FLUSH PRIVILEGES;date