phpmyadmin的#1251问题
作者:bea
mysql>updatemysql.userSETPassword=OLD_PASSWORD('newpwd') ->whereHost='some_host'ANDUser='some_user'; mysql>FLUSHPRIVILEGES;
mysql> update mysql.user SET Password = OLD_PASSWORD('newpwd')
-> where Host = 'some_host' AND User = 'some_user';
mysql> FLUSH PRIVILEGES;
有用 | 无用
-> where Host = 'some_host' AND User = 'some_user';
mysql> FLUSH PRIVILEGES;
有用 | 无用