MyBB Community Forums

Full Version: Help!!! My board is not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was try'ing to ad new style to my board and I mixed up sql.

I upload my my DB back up and now my board is not working.


www.amatorbalikci.net
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:

<?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