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