本文介绍了移动SQL Server配置存储数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们需要更改SQL Server配置存储所在的服务器。我们的计划是使用备份/恢复或分离/附加方法来移动数据库。 我一直无法确定如何更新AppFabric缓存正在使用的数据库连接字符串
。 我们没有使用WF托管。 在服务器上搜索,我在注册表和配置文件中找到了连接字符串。 有没有办法在不重置配置的情况下更改连接字符串,再次运行配置向导
? 再次运行向导需要特殊的数据库权限,这很难从DBA获取。  DBA不想为我们配置我们的应用程序。 如果可以使用PowerShell或WMI脚本更改连接
字符串会很棒。

We are required to change the server that our SQL Server configuration store is on. Our plan is to either use backup/restore or detach/attach method to move the database.  I have been unable to determine how to update the database connection string that AppFabric cache is using.  We are not using WF hosting.  Searching on the server, I have found the connection string in the registry and in config files.  Is there a way change the connection string without resetting the configuration and running the configuration wizard again?  Running the wizard again requires special database permissions which are difficult to obtain from the DBA.  The DBA does not want to configure our application for us.  It would be great if the connection string could be changed using PowerShell or WMI script.

推荐答案

您可以使用相同的SQL别名吗?那么你可能不需要重新配置任何东西。停止集群,移动数据库,启动集群。

Could you use the same SQL Alias ? Then you may not need to reconfigure anything. Stop the cluster, move the db, start the cluster.


这篇关于移动SQL Server配置存储数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-14 00:11