Quickly looking over the config.php file, looks like each place you put in your settings looks like this:
$config['Database']['dbname'] = 'forum';
The only thing you should be concerned with changing would be where it says
forum. Some scripts will work with just the name or user there and others might need to have the prefix like "cpanelusername_databasename" or "cpanelusername_databaseuser". Tht is about where my expertise with vB ends though.

Hopefully that information is some help to you though.
