Import and Export from bluehost web methods and summary of questions

Installed a new web concept:
Based on PHP + MySQL web environment clean installation process, essentially completed two tasks:
1. Writing database.
2. Modify the source code of the default configuration file.

Understanding of the above mentioned concept of Import and Export of the website is very easy. We want to do is just:

1. Packaged public_html directory, upload, unpack to a new host.
2. Export MySQL, import MySQL to a new host.
3. Changed the configuration files under the website, because MySQL user name, password, database name there is may be different. Well after the test's it.

For example, from bluehost will Discuz! Mobile website to other hosts:

The first step: to public_html in cPanel File Manager package, and upload to a new host, unzip it.

Step two: a new database and database user and Empowering to users. Derived from the old station into the MySQL database.

Step Three: Edit config.inc file, so that the following options with you step on the database name, user name, password, consistent finish click on OK after the debugging of the.

$ dbhost = 'localhost'; / / database server
$ dbuser = 'XXXXXX'; / / database user name
$ dbpw = 'XXXXXX'; / / database password
$ dbname = 'XXXXXX'; / / database name

Some added:

1. If you set up the website send Email to the user, then put this on Email in the new host as a new can.
2. Q: I want to re-use under heavy install.php site?
A: is not absolutely necessary, step 3 above and installation is the same, only our hand-finished.
3. Question: a new host of public_html directory and the files can be deleted?
A: The new host of one of public_html directory and the files can be deleted (I am referring to the cPanel hosts, and does not include the php.ini and. Htaccess)
4. On the FTP upload, cPanel compression decompression, MySql import, MySql Export (in real terms are MySql backup), bluehost House has had a comprehensive introduction, see the previous article.