mysql> update mysql.user SET Password = OLD_PASSWORD('newpwd')
-> where Host = 'some_host' AND User = 'some_user';
mysql> FLUSH PRIVILEGES;
http://www.bkjia.com/PHPjc/317237.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/317237.htmlTechArticlemysqlupdatemysql.userSETPassword=OLD_PASSWORD('newpwd') -whereHost='some_host'ANDUser='some_user'; mysqlFLUSHPRIVILEGES;...