mariadb

输入 mysql -uroot -p 回车进入


>use mysql;
> update user set password=PASSWORD("newpass")where user="root";
 更改密码为 newpassord
> flush privileges; 更新权限
> quit 退出

posted @ 2017-06-19 16:01  ComeComeGo  阅读(109)  评论(0)    收藏  举报