登录mysql输入以下命令:
-- 选择mysql数据库:
use mysql
-- laremehpe是登录用户名
ALTER USER 'laremehpe'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER;
-- laremehpe -> 用户名, 123456 -> 密码
ALTER USER 'laremehpe'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456';
-- 刷新:
flush privileges;
标签:requested,protocol,consider,nodejs,laremehpe,--,client,mysql From: https://www.cnblogs.com/laremehpe/p/17835730.html