i need to override the Mage_Index module to reindex data in a different database. I can't find where can i override the current connection. I need to execute it via shell through "php shell/indexer -reindexall". Anyone could help me?
EDIT (info from comments):
It is needed to get an import of >900000 Products done, where the reindex kills the Shop.