$cfg['Servers'][$i]['auth_type']     = 'config';    // Authentication method (config, http or cookie based)?如果做为apache模块安装,可以设成http,
设成cookie也可以

解决方案 »

  1.   

    $cfg['PmaAbsoluteUri'] = 'http://localhost/phpmyadmin/';
    $cfg['blowfish_secret'] = 'cookie';
    $cfg['Servers'][$i]['auth_type']     = 'cookie'
    config.inc.php中!
      

  2.   

    如果我想任意给定一个用户名和密码来登录,而不是与访问数据库一样的用户名和密码来访问,因为一般不改动的话,“cookie”方式时,root和空就能访问。怎样设置呢,别人才不容易登录呢?一定要在mysql中的user表中添加吗?在config.inc.php中能设置用户名和密码吗?另外我用“http”方式时,怎么也登录不进去,不停的显示登录窗口。怎么样设置才能正确登录呢?谢谢!
      

  3.   

    应该不行,因为phpmyadmin是根据mysql库中user表的记录的权限来操作的。增加用户不难吧?$cfg['Servers'][$i]['auth_type']     = 'config';    // Authentication method (config, http or cookie based)?config改为http就会弹出窗口认证了。
      

  4.   

    ⑶把PhpMyAdmin文件夹里的config.ini.php文件用Dreamweaver MX 2004打开:
    把第73行中的:$cfg['Servers'][$i]['auth_type']     = 'config';       
                → $cfg['Servers'][$i]['auth_type']     = 'cookie';⑷创建Mysql文件夹里的bin文件夹中的mysqld-nt.exe文件的快捷方式,
    试试ba