在的“连接到数据库”对话框中,有许多“旧”服务器或带有错误错误的服务器名称,它们一直显示在我的服务器下拉列表中:
这些名字存放在哪里??有没有办法清理这个列表并删除一些条目?
发布于 2011-06-09 06:49:44
对于SQL 2005:
C:\Documents and Settings\<USER>\Application Data\Microsoft\Microsoft SQL Server\90\Tools\Shell\mru.dat
对于SQL 2008:
C:\Documents and Settings\<USER>\Application Data\Microsoft\Microsoft SQL Server\100\Tools\Shell\SqlStudio.bin
12.0
c:\Users\<USER>\AppData\Roaming\Microsoft\SQL Server Management Studio\12.0\SqlStudio.bin
14.0.17289.0
c:\Users\<USER>\AppData\Roaming\Microsoft\SQL Server Management Studio\14.0\SqlStudio.bin
Microsoft SQL Server Management Studio 18:
C:\Users\%username%\AppData\Roaming\Microsoft\SQL Server Management Studio\18.0\UserSettings.xml
所以..。
编辑:关于MS连接https://connect.microsoft.com/SQLServer/feedback/details/424800
发布于 2016-06-29 17:00:31
当从的一个版本升级到另一个版本(例如2014到2016年)时,您可以将SqlStudio.bin文件从一个目录复制到另一个目录,所有连接都将迁移到新版本。
注意:如果这不起作用,您可以删除...\13.0\目录中的...\13.0\文件,并将SqlStudio.bin.saved重命名为SqlStudio.bin以恢复旧的配置。
发布于 2016-06-11 07:42:41
要删除新SQL 2014的所有条目,需要删除文件:
C:\Users\(USER)\AppData\Roaming\Microsoft\SQL Server Management Studio\12.0\SqlStudio.bin
https://serverfault.com/questions/278582
复制相似问题