MyBB Community Forums

Full Version: Changing Hosting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I moved my site to a different host and need to change some things before I can access my site?

It says there's something about SQL?
assuming that domain name is not changed,
basically ~/inc/config.php file should have correct database details

$config['database']['type'] = 'mysqli';
$config['database']['database'] = '________';  // database name
$config['database']['table_prefix'] = 'mybb_';

$config['database']['hostname'] = 'localhost'; // server name
$config['database']['username'] = '_________'; // database user 
$config['database']['password'] = '_________'; // database user's password
(2018-02-17, 02:28 PM).m. Wrote: [ -> ]assuming that domain name is not changed,
basically ~/inc/config.php file should have correct database details

$config['database']['type'] = 'mysqli';
$config['database']['database'] = '________';  // database name
$config['database']['table_prefix'] = 'mybb_';

$config['database']['hostname'] = 'localhost'; // server name
$config['database']['username'] = '_________'; // database user 
$config['database']['password'] = '_________'; // database user's password

With a domain name change?
^ if domain name is changed then
~/inc/settings.php file should have correct domain details
AND after logging into the forum admin panel
new domain details should be again entered in Site Details
page of the Configuration section

$settings['bburl'] = "____________"; // current forum url (no slash at end)

$settings['cookiedomain'] = "___________";
$settings['cookiepath'] = "______________";

[more details]