Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

phpmyadmin用http认证的登陆问题……!

[复制链接]
牛魔王哥哥 发表于 2007-1-4 22:03:01 | 显示全部楼层 |阅读模式
我在phpmyadmin的config.inc.php设置http认证!




$i = 0;
// The $cfg['Servers'] array starts with $cfg['Servers'][1].  Do not use $cfg['Servers'][0].
// You can disable a server config entry by setting host to ''.
$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']  = '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"






$cfg['Servers'][$i]['auth_type']     = 'http';    // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user']          = 'root';      // MySQL user
$cfg['Servers'][$i]['password']      = '123';          // MySQL password (only needed





我用root和密码进不了mysql管理界面……!

如果用cookie可以进入mysql管理界面……!(当然要打入root和密码了)


大家有遇过这样的问题吗?还是要设置哪里……?或者错误在哪里?

我是在本机架设的,用花生壳来连接……!



我新增加用户用cookie认证都可以进入mysql管理界面,用http认证就是不行……!真不知道还要设置哪里?
新手求助……!


先谢谢了!

[ 本帖最后由 牛魔王哥哥 于 2007-1-4 22:18 编辑 ]
huaizecun 发表于 2007-1-4 22:55:31 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

 楼主| 牛魔王哥哥 发表于 2007-1-5 18:09:34 | 显示全部楼层
原帖由 huaizecun 于 2007-1-4 22:55 发表
出现了什么错误提示啊,说清楚一点



就是用root和密码123进不了mysql

没有反映……!

打3次密码以后,就说用户名和密码不对……!拒绝访问!

但是!我的用户名和密码是对的!



我用百度搜索答案,说换个mysql版本就可以了……!难得是mysql哪里还要设置?

[ 本帖最后由 牛魔王哥哥 于 2007-1-5 18:12 编辑 ]
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-2-28 13:17 , Processed in 0.037827 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表