Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Alexey Badyl 33 posts 205 karma points
    Oct 01, 2014 @ 16:07
    Alexey Badyl
    0

    Is it possible to use separate database for TeaCommerce?

    Hi,

    I want to split Umbraco and TC tables into different databases. Is it possible?

    How can I change connectionstring for TC?

     

     

    Best regards,

    Alexey Badyl

  • Anders Burla 2560 posts 8256 karma points
    Oct 02, 2014 @ 17:59
    Anders Burla
    100

    Hi Alexey

    If you run the latest version of Tea Commerce I think you can suppress the IDatabaseFactory class and make your own implementation. So you should be able to do that.

    http://documentation.teacommerce.net/net-api/override-default-providers/

    Kind regards
    Anders

  • Alexey Badyl 33 posts 205 karma points
    Oct 03, 2014 @ 10:47
    Alexey Badyl
    0

    Hi Anders,

    Is it safe to move TC to separate DB? What about future updates? Do you use umbraco connection string to access any table of Umbraco, or you use all time API.

    So, I need to know if it 100% safe to move table to separate database?

     

     

    Thanks,

  • Anders Burla 2560 posts 8256 karma points
    Oct 03, 2014 @ 11:29
    Anders Burla
    0

    We always use the API. But we have never tried to run Tea Commerce from a seperate DB - so I cant promise if everything works :)

  • Alexey Badyl 33 posts 205 karma points
    Oct 04, 2014 @ 18:51
    Alexey Badyl
    0

    Hi, Andres.

    Suppress of the IDatabaseFactory class help us. We was able to split it. Thanks.

    We test it to see if it work stable.

     

Please Sign in or register to post replies

Write your reply to:

Draft