时间:2021-07-01 10:21:17 帮助过:21人阅读
找到 my.cnf 看看是否有需要跳过密码验证
#skip-grant-tables=1
mysql 进去
use mysql;
update user set authentication_string=PASSWORD(‘MyPassword‘) where user="root";
desc user;
//create user ‘173‘@‘%‘ identified by ‘mima‘ password expire never;
//grant all privileges on 173.* to ‘173‘@‘%‘;
mysql 5.7 密码重置 新增用户
标签:where ble str string 密码重置 nbsp roo update auth