Could I just ask a very naive question?
In the following code:
PHP Code:
// Define array of username/password combo's
$my_sql_configs = array(
0 => array('user' => 'user1', 'pass' => 'pass1')
, 1 => array('user' => 'user2', 'pass' => 'pass2')
);
// Randomly select 1
$selecteduser = array_rand($my_sql_configs);
// Assign selected user to config
$config['MasterServer']['username'] = $my_sql_configs[$selecteduser]['user'];
$config['MasterServer']['password'] = $my_sql_configs[$selecteduser]['pass'];
.. should I be changing any of these values, such as 'user', 'username' and 'password' - or leaving the code exactly as it is written here on the thread?
Also, exactly where in the config.php code should I be inserting this?
I have pasted the code Marco has written exactly 'as is', and placed it in the config.php file, directly above:
PHP Code:
// ****** DATABASE TYPE ******
// This is the type of the database server on which your vBulletin database will be located.
I am still getting the max_questions error when trying to import my phpbb2 board with Impex to VB 3.6.2. It's 100MB and is knocking the database out frequently when the max_questions limit kicks in.
Many Thanks