Jump to:

23355 Posts in 17873 Topics by 2862 members

General Questions

SilverStripe Forums » General Questions » Accessing a secondary DB from within SS

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 703 Views
  • patjnr
    Avatar
    Community Member
    101 Posts

    Accessing a secondary DB from within SS Link to this post

    Hi All

    I am trying to pull resources from a secondary database into a SilverStripe site.

    Here is my case;

    The first will contain SS install (SS_db) and the other one (work_db) will contain data like high resolution images, maps, Google map panoramas etc. The idea here is to separate the two as I want work_db to be independent of SS in all ways possible as I want the same resources to be accessed by other systems as well.

    My SS site is running but i cant find a way of connecting to my work_db to pull resources from there.
    I am coming from a none SS site and this works fine, I can connect to as many external databases as I want.

    Is there a way I can do this using SS.

    All help will be appreciated

    thx

    PJ

  • banal
    Avatar
    Community Member
    901 Posts

    Re: Accessing a secondary DB from within SS Link to this post

    Replied in another thread with a solution that worked for me: http://silverstripe.org/customising-the-cms/show/290174?start=0#post293308

    703 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.