mysql的8.0版本修改密码方式

mysql> alter user 'root'@'%' identified with mysql_native_password by 'Aa123456';
Query OK, 0 rows affected (0.01 sec)

mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)

发表评论

后才能评论