急求助:我安装了AppServ 2.5.10, 但PHPmyadmin无法登陆...仍然未解决呢 7月1号编辑。

急求助:我安装了AppServ 2.5.10, 但PHPmyadmin无法登陆...仍然未解决呢 7月1号编辑。

版主好啊,希望在这里的体温能得到回复.谢谢啦!

我下载了贵站的 AppServ 2.5.10, 想配置被地机PHP+My Sql测试环境, 安装很顺利,也可以测试.php程序了.
我的计算机是Windows XP专业版 SP2。

但是想进进数据库管理后台,但是登陆不进去.

我安装时,设置的root密码为XXXXXXX,
登陆时,提示画面这样地:


登陆了几次,结果是这样地:


我苦煞心机,装了好几次,都是这样。看了看phpmyadmin的配置文件如下:

"....
// full server array, just define values you need to change.
$i++;
$cfg['Servers'][$i]['host']                 = 'localhost'; // MySQL hostname or IP address
$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']   = 'http';       // How to connect to MySQL server ('tcp' or 'socket')
$cfg['Servers'][$i]['extension']         = 'mysql';     // The php MySQL extension to use ('mysql' or 'mysqli')
$cfg['Servers'][$i]['compress']         = FALSE;       // Use compressed protocol for the MySQL connection
                                                                              // (requires PHP >= 4.3.0)
$cfg['Servers'][$i]['hide_db']            = 'information_schema';
$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).
                                                                    // The controluser is also
                                                                      // used for all relational
                                                                      // features (pmadb)
$cfg['Servers'][$i]['auth_type']         = 'http';    // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user']                  = 'root';      // 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
                                                                    // this db is displayed in left frame
                                                                   // It may also be an array of db-names, where sorting order is relevant.
$cfg['Servers'][$i]['verbose']             = '';          // Verbose name for this host - leave blank to show the hostname
$cfg['Servers'][$i]['pmadb']               = '';          // Database used for Relation, Bookmark and PDF Features
                                                                      // (see scripts/create_tables.sql)
                                                                      //   - leave blank for no support
                                                                     //     DEFAULT: 'phpmyadmin'
$cfg['Servers'][$i]['bookmarktable']    = 'pma_bookmark';          // Bookmark table
                                                                       //   - leave blank for no bookmark support
                                                                        //     DEFAULT: 'pma_bookmark'
$cfg['Servers'][$i]['relation']                  = 'pma_relation';          // table to describe the relation between links (see doc)
                                    
....
"

恳求高手多多指点!!!

[ 本帖最后由 philip 于 2009-7-1 01:45 编辑 ]

帮你顶一下,我也想问这个问题,我卡这里好几天了... :Q

$cfg['Servers'][$i]['user']                  = 'root';      // MySQL user
$cfg['Servers'][$i]['password']          = '';          // MySQL password (only needed
把你的密碼填寫到$cfg['Servers'][$i]['password']  = 'XXXXXX';  就可以了

回复 3# t8543 的帖子

"
把你的密碼填寫到$cfg['Servers'][$i]['password']  = 'XXXXXX';  就可以了
"
高手,您说把密码填在那里.其实没用.我试过了.
结果仍然无法登陆....

是不是问题不在这个配置文件config.inc.php呢?

以前我装过Appserv低版本的,把config.inc.php文件的
$cfg['Servers'][$i]['auth_type']     = 'config';改成
$cfg['Servers'][$i]['auth_type']     = 'http';就可以了。但是打开这个看看,已经帮你改过了。

无头绪,急求帮助啊,我的QQ:690938399,一起探讨PHP啊!

[ 本帖最后由 philip 于 2009-6-30 12:10 编辑 ]

那可能就是你密码不对啊。不也这么提示吗?
如履薄冰

回复 5# 我不是鱼 的帖子

就是密码不对.

但是我确实在安装时,输入的是同一个password啊! 安装了N遍了。

是不是数据库mysql的用户\密码和phpmyadmin的用户\密码不匹配造成的问题呢?

大家仔细看了吗,登陆界面上有个0标...

$cfg['Servers'][$i]['auth_type']         = 'config';    // 改成config
$cfg['Servers'][$i]['user']                  = 'root';      // MySQL user
$cfg['Servers'][$i]['password']          = '';          // 写上你的密码试试试
如履薄冰

回复 7# 我不是鱼 的帖子

更没戏了,给出的是这个
"""
欢迎使用 phpMyAdmin 2.10.3

phpMyAdmin 试图连接到 MySQL 服务器,但服务器拒绝连接。您应该检查 config.inc.php 中的主机、用户名和密码,并且确定这些信息与 MySQL 服务器的管理员所给出的信息一致。

错误
MySQL 返回:

无法连接:非法设置。

""

对了,我安装过程中,把以前的C:\appserv路径改成了D:\appserv。

就是你的密码不对啊
密码对它怎么会提示你不对呢?
如履薄冰

这个问题我也遇到过,其实 是 phpmyadmin登录时 密码默认为空 造成的
因为 有的版本 的appsev  安装后 默认的 phpmyadmin默认密码为空,有的版本的 则可以自己设置。你不用填写密码,直接登录 就是了,这也就是黑客经常利用的弱口令 漏洞,你以后只要修改下 配置文件里的 密码 配置 就可以了