百度空间 | 百度首页 
 
查看文章
 
关于phpmyadmin的#1045 - Access denied for user 'root'@'localhost' (using password:
2009/11/06 10:39
安装完phomyadmin后出现#1045 - Access denied for user 'root'@'localhost' (using password: NO)错误,找了半天原因,搜索了半天都没有解决。最终自己搞定,却很简单的事情。
#1045 - Access denied for user 'root'@'localhost' (using password: NO)的问题解决办法,原因就是需要更改
phpMyAdmin文件夹中的config.sample.inc.php的文件名修改为config.inc.php,然后编辑config.inc.php中
$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = 'pmapass';
中的用户和密码为自己的mysql用户名和密码.问题搞定!
同时要修改$cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
为:$cfg['blowfish_secret'] = '****'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
****”为任意数。

类别:程序建站 | 添加到搜藏 | 浏览() | 评论 (1)
 
最近读者:
 
网友评论:
1
2009/11/06 12:50 | 回复
问候
 
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
验证码: 请点击后输入四位验证码,字母不区分大小写
      

     

©2009 Baidu