Microsoft SQL Server Management Studio -- Restore database in a difference server
2013-05-31 17:03
555 查看
Reference :
http://msdn.microsoft.com/en-us/library/ms177429.aspx
http://msdn.microsoft.com/en-us/library/aa337562.aspx
1.Go to the source database server, back up the database, save the backup file to E:\zkoo\chs2_DB.bak
2.copy the backup to destination database server to restore
3.how to enable SQL server authentication
1) create a new login by choosing SQL Server authentication ,setup password following the rule (8 characters)
2)click "status" to enable the login
3)restart the Database
4)login using SQL Server Authentication , re-input new password (following the rule)
4. configuration file :
<dataConfiguration defaultDatabase="CHS" />
<connectionStrings>
<add name="CHS" connectionString="Database=CHS2;Server=XX.XX.XX.XX;User Id=chs2;Pwd=Password1;Connection Timeout=30;"
providerName="System.Data.SqlClient" />
</connectionStrings>
http://msdn.microsoft.com/en-us/library/ms177429.aspx
http://msdn.microsoft.com/en-us/library/aa337562.aspx
1.Go to the source database server, back up the database, save the backup file to E:\zkoo\chs2_DB.bak
2.copy the backup to destination database server to restore
3.how to enable SQL server authentication
1) create a new login by choosing SQL Server authentication ,setup password following the rule (8 characters)
2)click "status" to enable the login
3)restart the Database
4)login using SQL Server Authentication , re-input new password (following the rule)
4. configuration file :
<dataConfiguration defaultDatabase="CHS" />
<connectionStrings>
<add name="CHS" connectionString="Database=CHS2;Server=XX.XX.XX.XX;User Id=chs2;Pwd=Password1;Connection Timeout=30;"
providerName="System.Data.SqlClient" />
</connectionStrings>
相关文章推荐
- Problem to create "New Database Diagram" in Microsoft SQL Server Management Studio for SQL Server 2012
- Restore DataBase In SQL Server Management Studio
- 关于Visual studio2010 和 Microsoft SQL Server 2008 Management Studio Express 的安装
- Win7(64位)安装Microsoft SQL Server Management Studio Express[error 29506]
- 转载:sql2005 Microsoft SQL Server Management Studio Express的安装问题
- Microsoft SQL Server Management Studio cannot find one or more components的问题
- 值不能为空。参数名viewinfo(microsoft.sqlserver.management.sqlstudio.explorer)
- Microsoft SQL Server Management Studio Express 使用SQL验证登录sa
- SQL 2005的企业管理器Microsoft SQL Server Management Studio Express(SSMSE) 下载不错的哦
- Download: Microsoft SQL Server Management Studio Express - Microsoft Download Center - Download Details
- Win7(64位)安装Microsoft SQL Server Management Studio Express[error 29506]
- Microsoft® SQL Server® 2008 Management Studio Express
- 安装Microsoft® SQL Server® 2008 Management Studio Express
- microsoft sql server management studio (express)
- Restore SQL Server database in same SQL server with different name
- Microsoft SQL Server 2005提示未能加载包"Microsoft SQL Management Studio Package "
- 关于sql server 2008 r2 展开时报错:参数名:viewInfo ( Microsoft SqlServer Management SqlStudio Explorer )解决思路
- Win7(64位)安装Microsoft SQL Server Management Studio Express[error 29506]
- 安装Microsoft SQL Server Management Studio Express是报错29506
- Microsoft SQL Server Management Studio ------------------------------ 附加数据库 对于 服务器