通过phpmyadmin登录失败到mysql

时间:2012-05-30 10:24:51

标签: phpmyadmin

以下是我在配置文件中修改的详细信息:

$cfg['Servers'][$i]['host']          = 'localhost';
$cfg['Servers'][$i]['port']          = '';
$cfg['Servers'][$i]['socket']        = '';
$cfg['Servers'][$i]['connect_type']  = 'tcp';
$cfg['Servers'][$i]['extension']     = 'mysqli';
$cfg['Servers'][$i]['compress']      = FALSE; 
$cfg['Servers'][$i]['controluser']   = '';
$cfg['Servers'][$i]['controlpass'] = '';
$cfg['Servers'][$i]['auth_type']     = 'config';
$cfg['Servers'][$i]['user']          = 'pma';
$cfg['Servers'][$i]['password']      ='pmapass';

我在mysql中为pma创建了一个帐户

下面的

是我为pma运行的权限脚本:

的所有权限授予'pma'所标识的'pma'@'localhost';

但是,当我尝试使用[http://] [localhost] / [phpmyadmin]登录时(剥离网址中的方括号)并传递pma对作为凭据我将继续重定向到index.php在地址栏中使用不同的guid类型的东西,除了用户ID /密码框之外,屏幕上没有消息的指示

MySql版本是在xp机器上运行的5.5.24。

我在上述步骤中遗漏了什么?任何人都可以通过以上方式告诉我

由于

1 个答案:

答案 0 :(得分:0)

检查服务器和客户端上的日期。

可能是因为不匹配会导致浏览器丢弃您的Cookie,从而有效地立即退出。