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".

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:

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!

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

Atom editor mac version download
The most popular open source editor

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

Zend Studio 13.0.1
Powerful PHP integrated development environment

SublimeText3 English version
Recommended: Win version, supports code prompts!

Notepad++7.3.1
Easy-to-use and free code editor





