mysql8.0修改密码

mysql> alter user '用户名'@'登录主机' identified by '密码(自定义)';

例如: alter user 'root'@'localhost' identified by '123';

猜你喜欢

转载自blog.csdn.net/qq_22339269/article/details/82263074