📅  最后修改于: 2022-03-11 14:57:41.452000             🧑  作者: Mango
ALTER USER 'username'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
restert mysql
sudo mysql.server restart