📅  最后修改于: 2022-03-11 15:05:10.989000             🧑  作者: Mango
mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'your_new_password';
mysql> FLUSH PRIVILEGES;
mysql> quit