EasyPHP 根密码
EasyPHP root password
这个问题已经发过好几次了,这个解决方案对其他成员有效,但对我无效。
我正在使用 easyphp 5.3.9
PhpMyAdmin 3.4.9
运行 在 windows 服务器上 virtualbox。
我已经为 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
$cfg['Servers'][$i]['password'] = 'azerty';
至
$cfg['Servers'][$i]['password'] = '';
这个问题已经发过好几次了,这个解决方案对其他成员有效,但对我无效。 我正在使用 easyphp 5.3.9 PhpMyAdmin 3.4.9 运行 在 windows 服务器上 virtualbox。 我已经为 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
$cfg['Servers'][$i]['password'] = 'azerty';
至
$cfg['Servers'][$i]['password'] = '';