Creating a Data Source (Basic Data Mining Tutorial)
Applies To: SQL Server 2016 Preview
A data source is a data connection that is saved and managed in your project and deployed to your Microsoft SQL Server Analysis Services database. The data source contains the names of the server and database where your source data resides, in addition to any other required connection properties.
The name of the database is AdventureWorksDW2012. If you have not already installed this database, see the Microsoft SQL Sample Databases page.
To create a data source
In Solution Explorer, right-click the Data Sources folder and select New Data Source.
On the Welcome to the Data Source Wizard page, click Next.
On the Select how to define the connection page, click New to add a connection to the AdventureWorksDW2012 database.
In the Provider list in Connection Manager, select Native OLE DB\SQL Server Native Client 11.0.
In the Server name box, type or select the name of the server on which you installed AdventureWorksDW2012.
For example, type localhost if the database is hosted on the local server.
In the Log onto the server group, select Use Windows Authentication.
Whenever possible, implementers should use Windows Authentication, as it provides a more secure authentication method than SQL Server Authentication. However, SQL Server Authentication is provided for backward compatibility. For more information about authentication methods, see Database Engine Configuration - Account Provisioning.
In the Select or enter a database name list, select AdventureWorksDW2012 and then click OK.
On the Impersonation Information page, click Use the service account, and then click Next.
On the Completing the Wizard page, notice that, by default, the data source is named Adventure Works DW 2012.
The new data source, Adventure Works DW 2012, appears in the Data Sources folder in Solution Explorer.