发布网友
共4个回答
热心网友
第一,找到config.inc.php文件;
第二,打开config.inc.php文件找到
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
$cfg['Lang'] = '';
第三,把$cfg['Servers'][$i]['auth_type'] = 'config';注释掉;
增加$cfg['Servers'][$i]['auth_type'] = 'cookie';
第四,最后完整代码:
//$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
$cfg['Lang'] = '';
热心网友
my.ini 设置下password 有的话就填 没有就为空
热心网友
我也出现这种问题,请问解决了吗?
热心网友
这个肯定是有问题了的哦, 看下窝的网名可以吗?一定可以解决的啊!!!