#38 Datapump API, dynamically set the database parameters

v1.0_(example)
open
nobody
None
1
2013-07-18
2013-07-18
smc
No

I'm using the Datapump APi to import data into the magento store. Works quite well.

Now I need to switch the database, based on a setting in my custom system

I search for hours but I found no solution. The database parameters are saved globally (not per profile) and living in a ini file. I found no easy way without hacking the whole module in setting the database parameters per profile or in an order dynamic way.

How can this be achieved?

Discussion