MySQL 更改root密码
c:>mysql -u root
mysql>
set
password
for
'root'
@
'localhost'
=
password
(
'newpasswd'
);
mysql>
set
password
for
'root'
@
'%'
=
password
(
'newpasswd'
); //本条可选
c:>mysql -u root
mysql>
set
password
for
'root'
@
'localhost'
=
password
(
'newpasswd'
);
mysql>
set
password
for
'root'
@
'%'
=
password
(
'newpasswd'
); //本条可选