環境
步驟
編輯 phpMyAdmin/config.inc.php
檔,找到以下設定:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
$i = 0;
$i++;
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['host'] = 'localhost'; $cfg['Servers'][$i]['compress'] = false; $cfg['Servers'][$i]['AllowNoPassword'] = false;
|
新增以下內容:
1 2 3 4 5 6 7 8 9 10 11 12 13
|
$i++;
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = ''; $cfg['Servers'][$i]['password'] = ''; $cfg['Servers'][$i]['extension'] = 'mysqli'; $cfg['Servers'][$i]['AllowNoPassword'] = true; $cfg['Servers'][$i]['host'] = ''; $cfg['Servers'][$i]['verbose'] = '';
|
參考資料