MyBB Community Forums
Problem with config.php file - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: Problem with config.php file (/thread-150563.html)



Problem with config.php file - leealex - 2014-01-31

Hello guys, I just moved to the new hosting, but when I edit inc/config.php forum still uses the old data. Why? Is db_user stored somwhere else?

The board is here: http://vitz55.ru/
Could not connect: Access denied for user 'leehost'@'localhost' (using password: YES)

Content of my config.php:

$config['database']['type'] = 'mysqli';
$config['database']['database'] = 'vitz';
$config['database']['table_prefix'] = 'mybb_';

$config['database']['hostname'] = 'localhost';
$config['database']['username'] = 'vitz';
$config['database']['password'] = '*******';


RE: Problem with config.php file - Nathan Malcolm - 2014-01-31

That isn't a MyBB error, and it doesn't look like MyBB is installed on that server (showthread.php doesn't exist).


RE: Problem with config.php file - leealex - 2014-01-31

If I create user 'leehost' on my server, the board connects to the DB though config.php contais this:

$config['database']['type'] = 'mysqli';
$config['database']['database'] = 'vitz';
$config['database']['table_prefix'] = 'mybb_';

$config['database']['hostname'] = 'localhost';
$config['database']['username'] = 'vitz';
$config['database']['password'] = '*******';


How is that possible?