更改dede(织梦)CMS的数据库链接配置

1、织梦(dedecms)的数据库连接文件位置:V5.1版本的在include\config_base.php织梦CMSV5.3版本的在\data\common.inc.php

2.织梦CMSV5.5版本的在\data\common.inc.php织梦CMSV5.6版本的在\data\common.inc.php

3.参数配置说明:$cfg_dbhost是本地连接,$cfg_dbname是数据库名,$cfg_dbuser是数据库用户名,$cfg_dbpwd是数据库密码,$cfg_dbprefix是数据表前缀,$cfg_db_language是数据库编码。


您可能还会对下面的文章感兴趣: