EasyPHP root密码

时间:2015-06-10 07:03:59

标签: phpmyadmin

此问题已多次发布,该解决方案适用于其他成员但不适用于我。 我正在使用easyphp 5.3.9 PhpMyAdmin 3.4.9 在virtualbox下的Windows服务器上运行。 我已经设置了root帐户的密码,任何sql请求与网站运行良好,但我无法再访问MySql管理页面,我有错误:

1045 - - 拒绝用户'root'@'localhost'访问(使用密码:NO)

我按照你在其他主题中的建议编辑了config.inc.php文件,但没有成功:

$cfg['Servers'][$i]['host'] = '127.0.0.1'; //tried localhost, same issue!
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'azerty';

$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = true; //tried false, no change

1 个答案:

答案 0 :(得分:1)

 $cfg['Servers'][$i]['password'] = 'azerty';

 $cfg['Servers'][$i]['password'] = '';