将config.inc.php文件中
$cfg['PmaAbsoluteUri'] 
设为你的phpmyadmin访问路径,例如
$cfg['PmaAbsoluteUri'] = 'http://www.csdn.net/phpmyadmin';

解决方案 »

  1.   

    那个$cfg['PmaAbsoluteUri'] = 'http://www.csdn.net/phpmyadmin'中的WWW.CSDN.NET
    是代表什么意思啊
    也就是说phpmyadmin前面的是怎么样设置的?
      

  2.   

    config.inc.php里的注释已经很清楚了,不要因为是英文就懒的看你把WWW.CSDN.NET改成localhost
    /**
     * Your phpMyAdmin url    你的phpMyAdmin的位置(目录)
     *
     * Complete the variable below with the full url ie
     *    http://www.your_web.net/path_to_your_phpMyAdmin_directory/
     *
     * It must contain characters that are valid for a URL, and the path is
     * case sensitive on some Web servers, for example Unix-based servers.
     *
     * In most cases you can leave this variable empty, as the correct value
     * will be detected automatically. However, we recommend that you do
     * test to see that the auto-detection code works in your system. A good
     * test is to browse a table, then edit a row and save it.  There will be
     * an error message if phpMyAdmin cannot auto-detect the correct value.
     *
     * If the auto-detection code does work properly, you can set to TRUE the
     * $cfg['PmaAbsoluteUri_DisableWarning'] variable below.
     */
    $cfg['PmaAbsoluteUri'] = 'http://localhost/phpMyAdmin';
      

  3.   

    谢谢大家了,特别是( ustcfrank(阿卡波糖) )
    我的phpmyadmin现在可以用了
    很常感谢你们!!