PHP
·
发表于 5年以前
·
阅读量:8299
mysql> update mysql.user SET Password = OLD_PASSWORD('newpwd')
-> where Host = 'some_host' AND User = 'some_user';
mysql> FLUSH PRIVILEGES;