MyBB Community Forums

Full Version: Restored MySQL database, but MyBB does not use the database
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I had to re-install the OS on the server, so I backed up the database using both MySQL Administrator (GUI) and MyBB.
I have restored the database using MySQL Administrator. It was restored successfully.

Then I tried to install the newest version of MyBB and it does not see the database. (or does not see any posts)

I'm new at this and am not sure where to begin... Thanks for your help!
What do you mean with "does not see"? Do you have any screenshots and a link to your forums?
here is the screenshot
Please make sure that the correct database is used in inc/config.php.
Thanks for your quick help!

Here is the config.php
'database' is the right name for it.
I'm very puzzled.
<?php
/**
 * Daatabase configuration
 */

$config['dbtype'] = 'mysql';
$config['hostname'] = 'localhost';
$config['username'] = 'root';
$config['password'] = '*******';
$config['database'] = 'GerwickBB';
$config['table_prefix'] = 'gbb_';

/**
 * Admin CP directory
 *  For security reasons, it is recommended you
 *  rename your Admin CP directory. You then need
 *  to adjust the value below to point to the
 *  new directory.
 */

$config['admin_dir'] = 'admin';

/**
 * Hide all Admin CP links
 *  If you wish to hide all Admin CP links
 *  on the front end of the board after
 *  renaming your Admin CP directory, set this
 *  to 1.
 */

$config['hide_admin_links'] = 0;

/**
 * Data-cache configuration
 *  The data cache is a temporary cache
 *  of the most commonly accessed data in MyBB.
 *  By default, the database is used to store this data.
 *
 *  If you wish to use the file system (inc/cache directory)
 *  you can change the value below to 'files' from 'db'.
 */

$config['cache_store'] = 'db';

/**
 * Super Administrators
 *  A comma separated list of user IDs who cannot
 *  be edited, deleted or banned in the Admin CP.
 *  The administrator permissions for these users
 *  cannot be altered either.
 */

$config['super_admins'] = '1';
 
?>
I'd change 'GerwickBB' to 'database' then.
Here is the link BTW.

http://gerwick.ucsd.edu/forum/
Oh I meant GerwickBB is the right name for 'database'
Are you sure that the database has been restored then? Pleasen open it and see if all posts/threads are in it.
How do you check that?
I guess through phpmyadmin?
Under gpp_posts, here's what I see:
Pages: 1 2