復制代碼 代碼如下:
 
$cfg['Servers'][$i]['auth_type'] = 'config'; 
更改為 
$cfg['Servers'][$i]['auth_type'] = 'http'; 
復制代碼 代碼如下:
 
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (valid choices: config, http, HTTP, signon or cookie) 驗證方式一般填寫cookie 
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user 
$cfg['Servers'][$i]['password'] = ”; // MySQL password (only needed with 'config' auth_type) 
將其中的$cfg['Servers'][$i]['password'] 補上相應的正確密碼. 
3.連接mysql mysql.exe -u root -p -h 127.0.0.1 
然后同步密碼guoxue_mmkey_com 
mysql> SET PASSWORD FOR -> ' some_user '@' some_host ' = OLD_PASSWORD(' newpwd '); 
結合我們的實際情況,在 MySQL Command Line Client 下運行: 
set password for root@localhost = old_password('123′);guoxue_mmkey_com 
guoxue_mmkey_com 
新聞熱點
疑難解答