phpmyadmin下面有个config.inc.php文件,你要把 /* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = 'root'; //给改成你的mysql用户名/密码
$cfg['Servers'][$i]['password'] = 'root'; //给改成你的mysql用户名/密码
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = 'root'; //给改成你的mysql用户名/密码
$cfg['Servers'][$i]['password'] = 'root'; //给改成你的mysql用户名/密码
$cfg['Servers'][$i]['extension'] = 'mysql';
解决方案 »
- HTTP 错误 500(Internal Server Error):服务器尝试执行请求时遇到了意外情况。
- windows2003下安装php版discuz出现"mysql_connect() 不支持 请检查 mysql 模块是否正确加载"错误
- 数据更新不了,请大师帮忙看下问题出在哪
- rmb求PHP小程序,就今天要~~急
- 问两个很初级的问题
- 请教如何在php程序中加入浏览器控件?
- mssql_query功能执行多次为什么就不行呢?
- 高分求phplib template和smarty的使用手册?
- 有没有phplib模板使用的详细说明???
- 有关PHP的一些简单的问题
- PHP中实现不同文件下的调用
- phpmyadmin出错问题
if (! $controllink) {
$controllink = PMA_DBI_connect($cfg['Server']['user'],
$cfg['Server']['password'], true);
} // end if ... else和// Connects to the server (validates user's login)
$userlink = PMA_DBI_connect($cfg['Server']['user'],
$cfg['Server']['password'], false); // Pass #2 of DB-Config to read in user level DB-Config will go here
// Robbat2 - May 11, 2002不知道是不是其中的哪个??
MySQL said: #1045 - Access denied for user 'localhost'@'localhost' (using password: YES)
这是什么原因阿??哪位高手能告诉我呀
找到这行,在引号中随便填入一些字符
$cfg['blowfish_secret'] = '';这个是为cookie加密用的,不填的话会报错关于mysql error 1044/1045可以参照下贴
http://blog.csdn.net/china2wto/archive/2005/11/08/525449.aspx