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

WebStorm Mac version
Useful JavaScript development tools

SublimeText3 Chinese version
Chinese version, very easy to use

Dreamweaver Mac version
Visual web development tools

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Atom editor mac version download
The most popular open source editor