mysql开启phpMyAdmin设置时需要输入用户名及密码
代码中标红得一行
改 config.ini.php
将 ['auth_type'] 改为 cookie 或者 http
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
$cfg['Servers'][$i]['port'] = ''; // MySQL port – leave blank for default port
$cfg['Servers'][$i]['socket'] = ''; // Path to the socket – leave blank for default socket
$cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
$cfg['Servers'][$i]['extension'] = 'mysqli'; // The php MySQL extension to use ('mysql' or 'mysqli')
$cfg['Servers'][$i]['compress'] = FALSE; // Use compressed protocol for