Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How To Change Hosts Successfully!
Author Message
ccalby
Posting Freak


Posts: 889
Joined: Jan 2010
Reputation: 10
Post: #1
How To Change Hosts Successfully!
I have switched hosts many times, and its is very frustrating if something goes wrong, so today we have this tutorial to try and avoid that!

First, you need to go to your forums ACP and disable all the plugins then go to tools and maintenance and select "Backup Database" from there, you need to select all the tables and download in the following format:
Quote:File Type: GZIP Compressed
Save Method: Download
Backup Contents: Structure and Data
Analyse and Optimise Selected Tables: Yes
Select the "Perform Backup" button and download that backup to your desktop.


Second, Download all your forum files, use an FTP client (For Example: FileZilla) and download your forum files that you uploaded when you first installed MyBB. Now, in your new hosting control panel, create a new MySQL database and user and open the newly downloaded forum file
Quote:/inc/config.php
and change the following details to fit your new MySQL Database and user.
Quote:$config['hostname'] = ' ';
$config['username'] = ' ';
$config['password'] = ' ';
$config['database'] = ' ';
$config['table_prefix'] = 'mybb_';
Make sure you change the table prefix to whatever you used when you first created your MyBB installation. Now, save and upload all the newly downloaded forum files to your new site


Third, In your new hosting control panel, log into PHPMyAdmin and select your newly created database from the left. On the top tabs, you will see a tab saying "Import" select that and browse for the backup file you just downloaded. Select the encoding on this database (Usually utf8) then click "Go"

Forth, go to your forum URL and make sure everything is working well, you should be able to login, and do everything you could before.

If you need some help, please just ask here

--Conor

MyBBSource Tutorials Are Located Here! - http://mybbsource.com/forum-40.html

MyBB Official Support Technician
(This post was last modified: 04-14-2010, 10:50 AM by ccalby)
04-14-2010, 10:49 AM
automaton
Junior Member


Posts: 5
Joined: Oct 2010
Reputation: 0
Post: #2
RE: How To Change Hosts Successfully!
Excellent tutorial, thanks. I have one question: when you move the files would you need to chmod any of the files on the new host for security or not?
10-14-2010, 08:30 PM
khubbaib1
Junior Member


Posts: 5
Joined: Nov 2010
Reputation: 0
Post: #3
RE: How To Change Hosts Successfully!
(10-14-2010 08:30 PM)automaton Wrote:  Excellent tutorial, thanks. I have one question: when you move the files would you need to chmod any of the files on the new host for security or not?
u must install new files in new host because install folder locked aromatically.
12-01-2010, 06:06 AM
flamehosts
Senior Member


Posts: 323
Joined: Oct 2010
Reputation: 0
Post: #4
RE: How To Change Hosts Successfully!
Nice tut ccalby
12-04-2010, 12:30 AM
jess
Junior Member


Posts: 11
Joined: Dec 2010
Reputation: 0
Post: #5
RE: How To Change Hosts Successfully!
Nice tut,
Thanks dude
12-05-2010, 07:48 PM
Jack1
Junior Member


Posts: 27
Joined: Aug 2010
Reputation: 0
Post: #6
RE: How To Change Hosts Successfully!
Thanks for the tutorial.
Yesterday, 12:06 AM
flamehosts
Senior Member


Posts: 323
Joined: Oct 2010
Reputation: 0
Post: #7
RE: How To Change Hosts Successfully!
Nice TUT
22 hours ago
 




User(s) browsing this thread: 2 Guest(s)