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

 找回密码
 立即注册
搜索

phpMyAdmin求教,我一修改Mysql密码就进不去

[复制链接]
阿阿勇 发表于 2006-11-25 10:21:54 | 显示全部楼层 |阅读模式

我原来的Mysql密码为空,phpMyAdmin可以正常使用
然后我在phpMyAdmin里修Mysql密码后,phpMyAdmin就不能登陆了,
错误提示为(见下图):
迎使用 phpMyAdmin 2.9.0

Probably reason of this is that you did not create configuration file. You might want to use setup script to create one.

错误
MySQL 返回:

#1045 - Access denied for user: 'root@localhost' (Using password: NO)


我在config.default.php把$cfg['Servers'][$i]['password']      = '';  改成我设定的密码也一样进不去








然后我在命令提示符里进去Mysql,用刚才设定的密码是可以进入的,见下图,应该是正常进入了吧



回复

使用道具 举报

hao32 发表于 2006-11-25 11:52:09 | 显示全部楼层
使用cookie登录就可以了...

删贴不减积分时间期限(天):
设置版主或管理员从前台删除发表于多少天以前的帖子时,不更新用户积分,可用于清理老帖子而不对作者积分造成损失。0 为不使用此功能,始终更新用户积分
回复

使用道具 举报

pc77maikongjian 发表于 2006-11-25 12:35:09 | 显示全部楼层
正解    正解呀。
回复

使用道具 举报

 楼主| 阿阿勇 发表于 2006-11-25 13:52:27 | 显示全部楼层
原帖由 hao32 于 2006-11-25 11:52 发表
使用cookie登录就可以了...

删贴不减积分时间期限(天):
设置版主或管理员从前台删除发表于多少天以前的帖子时,不更新用户积分,可用于清理老帖子而不对作者积分造成损失。0 为不使用此功能,始终更新用户积分


使用cookie是不是在 phpMyAdmin下的config.default.php里修改的?
我config.default.php已经是这样的
$cfg['Servers'][$i]['auth_type']     = 'cookie';    /
回复

使用道具 举报

zyxwd 发表于 2006-11-25 15:12:20 | 显示全部楼层
这程序BUG,请使用最新版即可。
回复

使用道具 举报

 楼主| 阿阿勇 发表于 2006-11-25 23:57:53 | 显示全部楼层
原因找到
这里,我没有把config.default.php改为config.inc.php
谢谢各位
回复

使用道具 举报

xinruby02 发表于 2007-3-8 13:05:56 | 显示全部楼层
我的问题与楼主一样
我这样设置的:
$cfg['Servers'][$i]['auth_type']     = 'cookie';   
$cfg['Servers'][$i]['user']          = 'root';      
$cfg['Servers'][$i]['password']      = '123456';

我在MYSQL中设置的密码为123456
可是运行http://localhost/phpmyadmin/后出现下面的提示

错误
配置文件现在需要绝密的短语密码(blowfish_secret)。


怎么办呢?
我没有把config.default改为config.inc




因为改为config.inc后出现如下错误:

Warning: Theme path not found for theme ! in c:\Inetpub\wwwroot\phpmyadmin\libraries\Theme_Manager.class.php on line 225

Warning: Cannot modify header information - headers already sent by (output started at c:\Inetpub\wwwroot\phpmyadmin\libraries\Theme_Manager.class.php:225) in c:\Inetpub\wwwroot\phpmyadmin\libraries\common.lib.php on line 2633

Warning: Cannot modify header information - headers already sent by (output started at c:\Inetpub\wwwroot\phpmyadmin\libraries\Theme_Manager.class.php:225) in c:\Inetpub\wwwroot\phpmyadmin\libraries\common.lib.php on line 2633

Warning: Cannot modify header information - headers already sent by (output started at c:\Inetpub\wwwroot\phpmyadmin\libraries\Theme_Manager.class.php:225) in c:\Inetpub\wwwroot\phpmyadmin\index.php on line 101


[ 本帖最后由 xinruby02 于 2007-3-8 13:07 编辑 ]
回复

使用道具 举报

羽凌枫 发表于 2007-5-20 22:50:12 | 显示全部楼层
原帖由 阿阿勇 于 2006-11-25 23:57 发表
原因找到
这里,我没有把config.default.php改为config.inc.php
谢谢各位



正解...偶的可以用了
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-11-21 17:00 , Processed in 0.520691 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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