The database name format can be changed the same as the index, sequence and table name format with the following code:
// bootstrap.php // ... $manager->setAttribute(Doctrine_Core::ATTR_DBNAME_FORMAT, 'myframework_%s');