mysql>set password =password(‘你的密码‘);mysql>flush privileges;
mysql>use mysql;mysql>update user set password=password(‘你的密码‘) where user=‘root‘; mysql>flush privileges;
mysql 常用命令,布布扣,bubuko.com
mysql 常用命令
原文:http://www.cnblogs.com/lizhanglong/p/3889751.html