Modifying the Dede system database table prefix

Source: Internet
Author: User

1, the modification before we back up the data (the man did not backup, I 艹, hurt), the operation of the backup process is: The site------system------Database backup/restore-------and then press submit. The default saved data is in the Data/backupdata directory.

2, then modify the directory under the Data/backupdata directory of all the TXT file table prefix, the Dede_ to modify the table prefix you need. As I was the table prefix modified into xl_.

3, immediately after opening all txt files in the Data/backupdata directory, replace the Dede_ table prefix in the file, Xl_ (Open with DW, batch replace it)

4, finally modify the data directory under the common.inc.php file, find $cfg _dbprefix = ' Dede_ '; Modify the Dede_ to Xl_.

5,--------System--------Database backup/restore--------data restore--------start restoring data.

Dude, fiddling with the website, be sure to remember the backup ... I 艹

In addition, the DEDECMS system after the move or after the System Restore, re-update the column or file, sometimes there will be such an error message: No column data may cache files (data/cache/inc_catalog_base.inc) No update please check for write permission

At this time everyone to change the file or folder Write permissions, generally will go to change to 777 or 755, but in fact this does not work. In fact, the solution is very simple, as long as the following three steps, you can

1. Delete the Inc_catalog_base.inc cache file

2. Update the system cache, click "Generate-Update system cache-and start execution" is OK.

3. Then regenerate the column, there will be no error message.

Modifying the Dede system database table prefix

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.