2005-12-20, 09:23 AM
2005-12-20, 11:19 AM
You're going to have to edit inc/config.php back to how it originally was. This is because you overwrote it when restoring your files (presuming that is what you did)
The basic file looks like:
Change:
$config['hostname']
$config['username']
$config['password']
$config['database']
to the values of your database server hostname, database username, database password and database name (in that order).
Example:
$config['hostname'] = "localhost";
$config['username'] = "my_username";
$config['password'] = "my_password";
$config['database'] = "my_mybb_forum";
Regards,
Chris
The basic file looks like:
<?php
/* Database Configuration */
$config['dbtype'] = "mysql";
$config['hostname'] = "localhost";
$config['username'] = "";
$config['password'] = "";
$config['database'] = "";
$config['table_prefix'] = "mybb_";
/* Admin CP URL */
$config['admindir'] = "admin";
/* Datacache Configuration */
/* files = Stores datacache in files inside /inc/cache/ (Must be writable)*/
/* db = Stores datacache in the database*/
$config['cachestore'] = "db";
Change:
$config['hostname']
$config['username']
$config['password']
$config['database']
to the values of your database server hostname, database username, database password and database name (in that order).
Example:
$config['hostname'] = "localhost";
$config['username'] = "my_username";
$config['password'] = "my_password";
$config['database'] = "my_mybb_forum";
Regards,
Chris