修改密码

佚名 / 2023-05-22 / 原文

update mysql.user set authentication_string=PASSWORD('passwd') where User='root';

flush privileges;