这个版本与之前的不太一样,根目录下没有config.sample.inc.php文件
找到 phpMyAdmin/libraries/config.default.php这个文件,复制一份到根目录下
改名为:config.inc.php,然后编辑相关内容
*/
$cfg['Servers'][$i]['auth_type'] = 'config';
/**
* HTTP Basic Auth Realm name to display (only used with 'HTTP' auth_type)
*
* @global string $cfg['Servers'][$i]['auth_http_realm']
*/
$cfg['Servers'][$i]['auth_http_realm'] = '';
/**
* MySQL user
*
* @global string $cfg['Servers'][$i]['user']
*/
$cfg['Servers'][$i]['user'] = 'root';
/**
* MySQL password (only needed with 'config' auth_type)
*
* @global string $cfg['Servers'][$i]['password']
*/
$cfg['Servers'][$i]['password'] = '填你的密码';
另外,要在根目录中存在tmp文件夹,如果没有就新建