这个我遇到过,我因为mysql的密码不对找到/libraries/config.default.php文件中以下代码段:
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (valid choices: config, http, HTTP, signon or cookie)
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed with 'config' auth_type)
将其中的$cfg['Servers'][$i]['password'] 补上相应的正确密码.
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (valid choices: config, http, HTTP, signon or cookie)
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed with 'config' auth_type)
将其中的$cfg['Servers'][$i]['password'] 补上相应的正确密码.
windows下, PHP的PATH必须在MYSQL的PATH前面,否则可能会引起冲突.因为lib_mysql.dll会同在PHP和MYSQL的PATH下.
这是从国外的网站看的,不知道能不能解决.