Home  >  Article  >  Backend Development  >  小弟我安装shuguang的cms到虚拟主机是时报Access denied for user 'root'@'localhost'

小弟我安装shuguang的cms到虚拟主机是时报Access denied for user 'root'@'localhost'

WBOY
WBOYOriginal
2016-06-13 13:39:30763browse

我安装shuguang的cms到虚拟主机是时报Access denied for user 'root'@'localhost'
曙光cms 是基于thinkphp做的
安装程序到虚拟主机时要用到项目文件夹下的Install中的安装程序
否则安装出错
Access denied for user 'root'@'localhost' (using password: YES)
我查了查实配置数据库配置出错
但是我检查了一遍又一遍database.inc.php中的数据库账号和密码都是对的
希望帮忙解决菜鸟的问题

------解决方案--------------------
配置问题,没有找到root用户
证明之前用的是root用户区登陆的,但是现在更换了管理员账号,不能再次用root登陆
看看是不是缓存问题

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn