在hpMyAdmin目录下打开config.inc.php文件,找到
$cfg['Servers'][$i]['auth_type']     = 'config';    // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user']          = 'root';      // MySQL user
$cfg['Servers'][$i]['password']      = '5655342';          // MySQL password (only needed
                                                    // with 'config' auth_type)把user和password该为你的mysql用户和密码就可以了
上面是我的phpMyadmin设置,用  root登陆
我用的是phpMyAdmin 2.5.5,
我先个应该查差不多吧!

解决方案 »

  1.   

    用上面的方法登陆成功为root身份以后!每进行一次操作,都说我没有权限,这是怎么回事啊!哪位大哥可以帮忙一下啊?
      

  2.   

    cookie开了吗>??要不干脆把'config'换成'http'
      

  3.   

    你再把config.inc.php里的root都改了是一下?
      

  4.   

    把     $cfg['Servers'][$i]['auth_type']     = 'config';
    修改为:$cfg['Servers'][$i]['auth_type']     = 'cookie';
    你在访问的时间根据提供给你的用户名密码访问就可以了