The databases are configured in src/config.inc.php and in the system database in table isys_mandator