而不能配置mysql数据为的管理程序phpMyAdmin,请问大侠们这是怎么回事啊?该如何打开此文件?

解决方案 »

  1.   

    phpMyAdmin 只有 config.default.php 没有 config.inc.php
      

  2.   


    有的在这个目录下E:\李忠双\软件\phpMyAdmin\phpMyAdmin-3.3.5.1-all-languages\setup\frames
      

  3.   

    lz用的是phpmyadmin哪一个版本?
      

  4.   


    phpMyAdmin-3.3.5-rc1-all-languages
    就如同下面讲的一样:先下载一份最新版的phpMyAdmin MYSQL管理器,点击本站下载phpMyAdmin
      
      解压后得到一个phpMyAdmin的目录(你可以改名)
      
      找到目录里的config.inc.php文件,打开
      找到 $cfg['PmaAbsoluteUri']
      修改你将上传到空间的phpMyAdmin的网址
      如:$cfg['PmaAbsoluteUri'] = 'http://your.domain.com/phpmyadmin/';
      
      还有下面的
      $cfg['Servers'][$i]['host'] = 'localhost';(通常用默认,也有例外)
      
      $cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
      在自己的机子里调试用config,如果在网上用cookie。
      
      $cfg['Servers'][$i]['user'] = 'root'; // MySQL user(用户名,自己机里用root,在网上设你的ftp用户名)
      $cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
      自己机里不用设
      
      $cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only(你只有一个数据就设置一下)
      
      还有设
      $cfg['DefaultLang'] = 'zh';
      
      设置完毕可以上传到网上了。
      
      浏览http://your.domain.com/phpmyadmin/ 当然你设置不同就用那个网址。
      

  5.   

    我刚才下载下来phpMyAdmin-3.3.6-rc1-all-languages看了一下根目录下有个config.sample.inc.php文件,你重命名为config.inc.php,然后按照上面的修改就可以了
      

  6.   

    有些版本是把config.default.php 文件重命名为config.inc.php
      

  7.   

    你的那个安装说明已经过时了index.php 中有:
    require_once './libraries/common.inc.php';common.inc.php 中有:
    require_once './libraries/Config.class.php';Config.class.php 中有:
    var $default_source = './libraries/config.default.php'; 这个 config.default.php 就是配置文件