mysql> 更新 mysql.user SET 密碼 = OLD_PASSWORD('newpwd')
->; 其中主機='some_host'和用戶='some_user';
mysql> 同花順特權;
http://www.bkjia.com/PHPjc/317237.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/317237.htmlTechArticlemysqlupdatemysql.userSETPassword=OLD_PASSWORD('newpwdsql') -whereHostmysql.userSETPassword=OLD_PASSWORD('newpwdsql') -whermHostMost=FLm'pANDUser'sft>A.>A.>FLAGE=FLA>AGE; ...