在phpmyadmin中有个config.inc.php,你可以用记事本打开它,然后在/* Authentication type and info */这句下面的$cfg['Servers'][$i]['auth_type'] = 'config';$cfg['Servers'][$i]['user'] = 'root';$cfg['Servers'][$i]['password'] = '*************';$cfg['Servers'][$i]['extension'] = 'mysql';“****”号写入你刚刚修改过的密码,保存就OK了! -------------------------------