`
blessdyb
  • 浏览: 232831 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

搭建lamp时的phpmyadmin报#1045Access denied for user 'root'@'localhost'

    博客分类:
  • LAMP
阅读更多

昨天在一台redhat上安装了mysql,和phpmyadmin,开始是好的,后来改了mysql的密码后,登录myadmin时提示 " #1045 - Access denied for user ’root’@’localhost’ (using password: NO)" 的错误,在网上找了好多办法,都不行,最后发现是自己修改的配置文件一直是 config.sample.inc.php,后来执行一个 cp config.sample.inc.php config.inc.php复制一份为config.inc.php, 然后修改config.inc.php就可以用myadmin登录了

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics