mysql> update mysql.user set authentication_string=PASSWORD(‘password‘) where Use r=‘root‘;
结果为这样:
Query OK, 1 row affected, 1 warning (0.15 sec) Rows matched: 1 Changed: 1 Warnings: 1
MySQL中的错误及解决方法
原文:http://www.cnblogs.com/denglw/p/7173123.html