我更改了phpmyadmin的密码,现在我无法登录到MySQL。我已经重启,按照这里的指示http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html,但它仍然不让我登录。
我还能做些什么来解决这个问题呢?谢谢!
发布于 2010-06-28 20:35:06
听起来更像是phpMyAdmin配置问题。
查看您的config.inc.php并找到以下代码行:
/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = ''; // you might need to change this
$cfg['Servers'][$i]['extension'] = 'mysql';发布于 2010-06-28 20:37:01
如果您使用的是Windows,请转到您安装的驱动器上的wamp目录,然后转到apps,然后转到phpmyadmin应用程序文件夹。查找名为config.inc.php的文件。使用记事本打开它,并查找以下行:-
$cfg['Servers'][$i]['password'] = ''并在引号之间设置密码。
重新启动您的wamp服务器,我认为应该这样做了!
编辑:-您可能还需要更改用户名
https://stackoverflow.com/questions/3132329
复制相似问题