Upgrading my Hestia VPS from Debian 9 to 10, a screen appears asking me about the name of the RoundCube database, the RoundCube username and password and a username and password for the account with RoundCube administrative privileges.
Its complicated! Here’s what I think happens.
/etc/roundcube/config.inc.php is loaded first.
That loads debian-db-roundcube.php with this line
include_once("/etc/roundcube/debian-db-roundcube.php");
In there, you’ll see the string.
$rcmail_config[‘db_dsnw’] = ‘mysql://roundcube:p422w0r5@localhost/roundcube’;
I think this is the one you edit.
If not, there’s a further config file called debian-db.php which is automatically generated from /etc/dbconfig-common/roundcube.conf. You could try editing that one, but it doesn’t seem to be used on Ubuntu at least.
Ultimately, as long as roundcube finds a valid value for db_dsnw, then it will work.