Skip to content

Instantly share code, notes, and snippets.

@tomekjuranek
Created November 19, 2012 10:51
Show Gist options
  • Save tomekjuranek/4110080 to your computer and use it in GitHub Desktop.
Save tomekjuranek/4110080 to your computer and use it in GitHub Desktop.
Sitecore connection strings transformations
<?xml version="1.0" encoding="utf-8"?>
<connectionStrings xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<add name="core" connectionString="Data Source=host\SQLDBNAME;Database=websiteSitecore_Core;Integrated Security=SSPI" xdt:Transform="Replace" xdt:Locator="Match(name)" />
<add name="master" connectionString="Data Source=host\SQLDBNAME;Database=websiteSitecore_Master;Integrated Security=SSPI" xdt:Transform="Replace" xdt:Locator="Match(name)"/>
<add name="web" connectionString="Data Source=host\SQLDBNAME;Database=websiteSitecore_Web;Integrated Security=SSPI" xdt:Transform="Replace" xdt:Locator="Match(name)"/>
<add name="analytics" connectionString="Data Source=host\SQLDBNAME;Database=Sitecore_analytics;Integrated Security=SSPI" xdt:Transform="Replace" xdt:Locator="Match(name)"/>
</connectionStrings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment