How to import MySQL database after changing space

Source: Internet
Author: User

Personal views:

1. Reinstall the same version of the DEDECMS system in the new space.
2. Then login to the new space backstage, upload the original site template to the new station.
3. Restore the database, the entire station to regenerate the HTML.

This is your SQL database file.
To access the Database Administration page, open phpMyAdmin, click Import Options, import your XX.COM.sql database file, you can convert to restore the MySQL database file.
Then you can regenerate the HTML all over the station.

or modify the database link:

After installing the DEDECMS system, modify: Database name, user name, password connection information in the/include/config_base.php file:

Database connection Information
$cfg _dbhost = ' localhost ';
$cfg _dbname = ' sq_mysqlname ';
$cfg _dbuser = ' sq_mysqluser ';
$cfg _dbpwd = ' password ';

How to import MySQL database after changing space

Related Article

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.