Home >CMS Tutorial >DEDECMS >How to modify the database name of Dreamweaver CMS

How to modify the database name of Dreamweaver CMS

藏色散人
藏色散人Original
2023-02-28 09:39:092309browse

How to modify the database name of DreamWeaver cms: 1. Directly modify the database name in mysql; 2. Open the "data" folder in the root directory, and then find the "common.inc.php" file; 3. , just modify the data after "$cfg_dbname".

How to modify the database name of Dreamweaver CMS

The operating environment of this tutorial: Windows 10 system, DedeCMS version 5.7, Dell G3 computer.

How to modify the name of DreamWeaver cms database?

First you need to modify the database name in mysql;

Then open the common.inc.php file in the "data" folder in the root directory and modify $cfg_dbname the data behind.

is as follows:

How to modify the database name of Dreamweaver CMS

Note:

Open the /data/common.inc.php file and find "$cfg_dbname = 'Database name'" and then change it to the name of your website in the database. The path is generally the default and does not need to be modified. If you do not have the right to modify the server database, you can ask the space provider to modify it for you when the time comes. This is very simple.

Recommended learning: dedecms tutorial

The above is the detailed content of How to modify the database name of Dreamweaver CMS. For more information, please follow other related articles on the PHP Chinese website!

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