mysql密码重置

方法1: 用SET PASSWORD命令

  mysql -u root

  mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpass');

posted @ 2016-10-19 12:09  BideYao  阅读(95)  评论(0编辑  收藏  举报