http://www.njhoo.com/viewthread.php?tid=462WIN32+APACHE2+PHP5+MYSQL5 一键搞定-套装

解决方案 »

  1.   

    打开config.inc.php这里需要配置你数据库的用户名和密码
      

  2.   

    拷贝libraries目录下config.default.php 到你的phpmyadmin的根目录下,文件名改为config.inc.php,在里面设置你mysql的用户名和密码,将$cfg['Servers'][$i]['auth_type']一项改为http就可以了
      

  3.   

    在phpMyAdmin\config.inc.php中配置一下,试试呢!$cfg['Servers'][$i]['host']          = '127.0.0.1';
    $cfg['Servers'][$i]['port']          = '';          // MySQL port - leave blank for default port
    $cfg['Servers'][$i]['socket']        = '';          // Path to the socket - leave blank for default socket
    $cfg['Servers'][$i]['connect_type']  = 'tcp';       // How to connect to MySQL server ('tcp' or 'socket')
    $cfg['Servers'][$i]['compress']      = FALSE;       // Use compressed protocol for the MySQL connection
                                                        // (requires PHP >= 4.3.0)
    $cfg['Servers'][$i]['controluser']   = '';          // MySQL control user settings
                                                        // (this user must have read-only
    $cfg['Servers'][$i]['controlpass']   = '';          // access to the "mysql/user"
                                                        // and "mysql/db" tables)
    $cfg['Servers'][$i]['auth_type']     = 'config';    // Authentication method (config, http or cookie based)?
    $cfg['Servers'][$i]['user']          = '你的用户名';      // MySQL user
    $cfg['Servers'][$i]['password']      = '你的密码';          // MySQL password (only needed
                                                        // with 'config' auth_type)
    $cfg['Servers'][$i]['only_db']       = '';          // If set to a db-name, only
      

  4.   

    phpMyAdmin 2.9.2需要将解压后的根目录中增加一个config.inc.php文件,你可以直接复制config.sample.inc.php(好像是这个文件名,主要不记得sample的位置),然后在这个文件中修改一下:
    $cfg['Servers'][$i]['controluser'] = 'pmausr';
    $cfg['Servers'][$i]['controlpass'] = 'pmapass';ps:我是最近重装系统才下了个phpMyAdmin 2.9.2
    其实说明文档有详细说明,不过是e文的。有问题仔细看一下该文档
      

  5.   

    <?php/* $Id: config.sample.inc.php,v 2.1.2.2 2006/08/28 08:14:14 nijel Exp $ */
    // vim: expandtab sw=4 ts=4 sts=4:/**
     * phpMyAdmin sample configuration, you can use it as base for 
     * manual configuration. For easier setup you can use scripts/setup.php
     *
     * All directives are explained in Documentation.html and on phpMyAdmin 
     * wiki <http://wiki.cihar.com>.
     *//* 
     * This is needed for cookie based authentication to encrypt password in 
     * cookie
     */
    $cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! *//* 
     * Servers configuration
     */
    $i = 0;/* 
     * First server
     */
    $i++;
    /* Authentication type */
    $cfg['Servers'][$i]['auth_type'] = 'config';//config, http or cookie 
    $cfg['Servers'][$i]['user'] = 'root'; // MySQL user 
    $cfg['Servers'][$i]['password'] = 'root'; // MySQL password (only needed // with 'config' auth_type) 
    $cfg['blowfish_secret'] = 'localhost';
    /* Server parameters */
    $cfg['Servers'][$i]['host'] = 'localhost';
    $cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port 
    $cfg['Servers'][$i]['connect_type'] = 'tcp';
    $cfg['Servers'][$i]['compress'] = false;
    /* Select mysqli if your server has it */
    $cfg['Servers'][$i]['extension'] = 'mysql';
    /* User for advanced features */
    $cfg['Servers'][$i]['controluser'] = 'root';
    $cfg['Servers'][$i]['controlpass'] = 'root';
    /* Advanced phpMyAdmin features */
    $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
    $cfg['Servers'][$i]['booktable'] = 'pma_book';
    $cfg['Servers'][$i]['relation'] = 'pma_relation';
    $cfg['Servers'][$i]['table_info'] = 'pma_table_info';
    $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
    $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
    $cfg['Servers'][$i]['column_info'] = 'pma_column_info';
    $cfg['Servers'][$i]['history'] = 'pma_history';/* 
     * End of servers configuration
     *//*
     * Directories for saving/loading files from server
     */
    $cfg['UploadDir'] = '';
    $cfg['SaveDir'] = '';?>
      

  6.   

    在出现错误提示的界面直接有一个script的连接的,进入点add的按钮,有一个配置信息,填上点执行,再找到一个configure选download,保存时把文件名中的[1]去掉,重新打开phpmyadmin就可以用了
      

  7.   

    下载VertrigoServ包含一下东东
    Packages:    * Apache 2.0.59
        * PHP 5.2.0
        * Mysql 5.0.27
        * SQLite 3.3.8
        * PhpMyAdmin 2.9.1.1
        * SQLiteManager 1.2.0
        * ZendOptimizer 3.2.0
      

  8.   

    EMS MySQL Manager
    用这个,比phpMyAdmin更方便、强大
      

  9.   

    MySQL 返回: #1045 - Access denied for user 'root'@'localhost' (using password: NO) 这个破烂玩意,真他妈麻烦!
      

  10.   

    EMS MySQL Manager是界面操作。个人感觉不错。
      

  11.   

    方法一:拷贝libraries目录下config.default.php 到你的phpmyadmin的根目录下,文件名改为config.inc.php,在里面设置你mysql的用户名和密码,将$cfg['Servers'][$i]['auth_type']一项改为http就可以了方法二:使用你用过的那个脚本。先在/scripts目录下建立一个新文件config.inc.php,给可写得权限。然后重新在script那个设置页面里设置。这样设置的结果可以保存在那个新文件里。设置完毕后点保存。接着将这个文件拷贝回上一级即PMA的根目录中。一切OK。以上两种方法均可以在PMA自带的DOC文档中找到,英文不难。