Copied to clipboard

Flag this post as spam?

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


  • Linx 98 posts 258 karma points
    Jul 14, 2023 @ 04:44
    Linx
    0

    How to separate database with custom tables

    Hi guys

    I have an Umbraco 8 website which has some custom tables stored in the original database that holds the Umbraco tables.

    I want to separate this out so the tables created as part of Umbraco are in their own database and anything else is in its own database.

    I can delete the custom tables from the Umbraco database and move all this data into a new database using the same table name.

    How could I hook up Umbraco to use the old database for Umbraco and all custom pages to use the new database?

    I have read I can add a new web.config connection string but then how would the custom tables know which database to use?

Please Sign in or register to post replies

Write your reply to:

Draft