Yes, you can specify it in the webconfig and in the dataprovider and sqldataprovider, make sure you change it to point to the new configuration.
Below I changed the default "Data" to point to a new config called "applicationData"
SqlDataProvider File
Private Const ProviderType As String = "applicationData"
DataProvider File
' dynamically create provider
Private Shared Sub CreateProvider()
objProvider = CType(Framework.Reflection.CreateObject("applicationData", "NamespaceGoesHere", ""), DataProvider)
End Sub
WebConfig File
<sectionGroup name="dotnetnuke">
<section name="data" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke"/>
<section name="applicationData" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke"/>
...
<connectionStrings>
<add name="SiteSqlServer" connectionString="..." providerName="System.Data.SqlClient"/>
<!-- Connection String for SQL Server 2000/2005 -->
<add name="applicationData" connectionString="New Connection String Goes Here" providerName="System.Data.SqlClient"/>
...
<appSettings>
<!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules -->
<add key="SiteSqlServer" value="..."/>
<!-- Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules-->
<add key="applicationData" value="New Connection String Goes Here"/>
...
<dotnetnuke>
<!--ApplicationDatabase Provider-->
<applicationData defaultProvider="SqlDataProvider">
<providers>
<clear/>
<add name="SqlDataProvider" type="DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider" connectionStringName="applicationData" upgradeConnectionString="" providerPath="~\Providers\DataProviders\SqlDataProvider\" objectQualifier="" databaseOwner="dbo"/>
</providers>
</applicationData>
...