MySql修改密码

参考:http://www.cnblogs.com/jyginger/archive/2011/04/27/2030017.html

UPDATE user SET password=PASSWORD('123456') WHERE user='root';
FLUSH PRIVILEGES;

 

posted @ 2015-06-24 23:12  高山-景行  阅读(195)  评论(0编辑  收藏  举报