One thing you could do would be to create a second MySQL user and add it to your database. Then when you get the error, you can switch users and see what effect that has.
This is cool: it's a change to config.php to rotate MySQL users. What we do here is to assume both have the same privileges to the database, then we can use mt_rand() to determine which one to use for each page load.
Code: Select all
$dbms = 'mysql4';
$dbhost = 'localhost';
$table_prefix = 'phpbb_';
$dbname = 'phpbb2devboard';
if (mt_rand(1,2) == 1)
{
$dbuser = 'dougk';
$dbpasswd = 'dougkff7';
}
else
{
$dbuser = 'dogcow';
$dbpasswd = 'macos1988';
}
So you'd just fill out those details to match your actual setup, and then try it out.