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