mysql修改密码

首先登录MySQL
格式:mysql> set password for 用户名@localhost = password('新密码');
例子:mysql> set password for root@localhost = password('123');

posted @ 2016-04-15 17:32  wong。  阅读(140)  评论(0编辑  收藏  举报