MyBB Community Forums

Full Version: Restore a MySQL Database ? I want to restore a backup
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
I want to restore a MySQL Database so do I just import it and click the button '' Upload '' and wait?
restoring database needs to be done through database manager at web host control panel (eg. phpMyAdmin)
if the database backup was done through forum admin panel then you have to create a database and import
the backup into the newly created database & connect to it by using database details in ~/inc/config.php file
$config['database']['type'] = 'mysqli';
$config['database']['database'] = 'xxxxxxx';
$config['database']['table_prefix'] = 'mybb_';

$config['database']['hostname'] = 'xxxxxx';
$config['database']['username'] = 'xxxxxx';
$config['database']['password'] = 'xxxxxx';