[eluser]WanWizard[/eluser]
In the config/database.php you can define multiple named database connection.
Without extra configuration, DataMapper uses whatever you have defined as 'default' in this configuration.
You can override that for all DataMapper models by setting the config value 'db_params' to another database configuration in config/datamapper.php.
If you want a per-model override, you can add this to a model:
Code:
/**
* override the database connections with this option
*/
var $db_params = 'db_config_name';