Configure SQL Server for the Storage Emulator
Updated: June 7, 2012
The first time you run the Windows Azure storage emulator, an initialization process runs to configure the environment. The initialization process creates a database in Microsoft SQL Server 2012 Express LocalDB. You can use the DSInit Command-Line Tool to configure the storage emulator to run against a local instance of SQL Server, rather than against LocalDB.
-
Click Start, point to All Programs, and then click Windows Azure SDK.
-
Right-click Windows Azure SDK Command Prompt, and then click Run as administrator.
-
In the Windows Azure SDK Command Prompt window, type the following command:
DSInit /sqlInstance:<SQLServerInstance>
Where <SQLServerInstance> is the name of the SQL Server instance.
You can also use the following command, which uses the default instance:
DSInit /sqlInstance:.
Note |
|---|
| You can use the DSInit Command-Line Tool at any time to configure the storage emulator to point to a different instance of SQL Server. |
See Also
Note