时间:2021-07-01 10:21:17 帮助过:21人阅读
把localhost换成127.0.0.1试试
libraries/config.default.php
187 行左右
/**
* 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'] = '';//填写口令
如没有口令应修改(227行附近)
$cfg['Servers'][$i]['nopassword'] = true;// 默认是 false