美文网首页
Mysql 修改root密码

Mysql 修改root密码

作者: just_a_name | 来源:发表于2017-12-05 09:33 被阅读0次

set password for 用户名@localhost = password('新密码');

or

use mysql;

update user set password=password('123') where user='root' and host='localhost';

flush privileges;

相关文章

网友评论

      本文标题:Mysql 修改root密码

      本文链接:https://www.haomeiwen.com/subject/pzdqixtx.html