update mysql.user set authentication_string=password(‘root’) where user=‘root’ ;
mysql> update mysql.user set authentication_string=password(‘double123’) where user=‘root’ ;
ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
密码需要加上特殊字符
更改密码之后需要重启mysql服务
service mysqld restart
linux中特殊字符转义\