複製一份config.sample.inc.php爲config.inc.phpphp
並修改$cfg['Servers'][$i]['host'] = 'localhost';mysql
爲sql
$cfg['Servers'][$i]['host'] = '127.0.0.1';cookie
而後刷新登錄頁面,使用mysql帳號登錄便可cookies
-------------------------------------------------------------auth
避免每次都不須要登錄:co
把認證模式從cookies改爲httpconfig
$cfg['Servers'][$i]['auth_type'] = ‘http’;localhost