DedeCMS Error Warning! Technical Support: http://bbs.dedecms.com Error page: /dede/index.php Error infos: DedeCms错误警告:连接数据库失败,可能数据库密码不对或数据库服务器出错 去网站目录文件夹下data下看 common.inc.php中的内容 <?php //数据库连接信息 $cfg_dbhost = 'localhost'; $cfg_dbname = 'xxx'; $cfg_dbuser = 'xxx'; $cfg_dbpwd = 'xxx'; $cfg_dbprefix = 'dede_'; $cfg_db_language = 'gbk'; ?> 解决办法:通过phpmyadmin ,进去修改数据库密码和配置文件中的密码一致,刷新页面,ok!
转载于:https://blog.51cto.com/shinv/611214