Sometimes when changing the website space or moving the website, we do not want to use the default website moving method of DEDECMS. Instead, we back up and upload the website files ourselves. When backing up and restoring the website database, we need to modify it. Database configuration for the DEDECMS website.
So where is the dedecms database configuration file?
The path where the dede database configuration file is located is /data/common.inc.php
The following is the content of the dede database configuration file:
<?php //数据库连接信息 $cfg_dbhost = 'localhost';//数据库地址 $cfg_dbname = 'dedecmsv57gbksp1';//数据名 $cfg_dbuser = 'root';//数据库用户名 $cfg_dbpwd = '02405.com';//数据库密码 $cfg_dbprefix = 'dede_';//数据库表前缀 $cfg_db_language = 'gbk';//数据库字符版本 ?>
We base it on our own Just need to modify...
dedecms Introduction:
Dreamweaver Content Management System (DedeCms) is famous for its simplicity, practicality, and open source. It is the most well-known PHP open source website in China. The management system is also the PHP CMS system with the most users. After years of development, the current version has made great progress in terms of functionality and ease of use. The main target users of the free version of DedeCms are In personal webmasters, the functions are more focused on the construction of personal websites or small and medium-sized portals. Of course, there are also corporate users and schools using this system.
For more dedecms technical articles, please visit the dedecms usage tutorial column!
The above is the detailed content of Where is the dedecms database configuration file?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 Chinese version
Chinese version, very easy to use

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

WebStorm Mac version
Useful JavaScript development tools

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment