Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Multiple local.xml files
 
salbertson
Jr. Member
 
Total Posts:  27
Joined:  2008-05-04
 

I am trying to setup different local.xml files to allow for database swapping at runtime. Basically I am trying to setup different sites with separate databases using one Magento code base. Is there any way to change the database connection settings at runtime? My first approach was to try different local.xml files but it isn’t working.

Any suggestions would be greatly appreciated, thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Yoke Lee
Sr. Member
 
Avatar
Total Posts:  80
Joined:  2008-05-08
China - Singapore
 

Maybe this helps :
http://www.magentocommerce.com/boards/viewthread/7397/

or maybe you should try to modify the config.xml in app\etc.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top