SQL Server 2014 清除用户名和密码

Posted C#

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SQL Server 2014 清除用户名和密码相关的知识,希望对你有一定的参考价值。

网上找来找去都是SQL Server 2008版本或者以前版本的。。。
后来:http://stackoverflow.com/questions/349668/removing-the-remembered-login-and-password-list-in-sql-server-management-studio

找到了更多版本的解决方案:

Path:

Another answer here also mentions since 2012 you can remove Remove cached login via How to remove cached server names from the Connect to Server dialog?. Just confirmed this delete in MRU list works fine in 2016.

SQL Server Management Studio 2016 delete the file C:\Users\%username%\AppData\Roaming\Microsoft\SQL Server Management Studio\13.0\SqlStudio.bin

SQL Server Management Studio 2014 delete the file C:\Users\%username%\AppData\Roaming\Microsoft\SQL Server Management Studio\12.0\SqlStudio.bin

SQL Server Management Studio 2012 delete the file C:\Users\%username%\AppData\Roaming\Microsoft\SQL Server Management Studio\11.0\SqlStudio.bin

SQL Server Management Studio 2008 delete the file C:\Users\%username%\AppData\Roaming\Microsoft\Microsoft SQL Server\100\Tools\Shell\SqlStudio.bin

SQL Server Management Studio 2005 delete the file – same as above answer but the Vista path. C:\Users\%username%\AppData\Roaming\Microsoft\Microsoft SQL Server\90\Tools\Shell\mru.dat

These are profile paths for Vista / 7 / 8.

EDIT:

Note, AppData is a hidden folder. You need to show hidden folders in explorer.

 

以上是关于SQL Server 2014 清除用户名和密码的主要内容,如果未能解决你的问题,请参考以下文章

如此清除sql server 2008 记住的用户名

清除SQL Server 2008记住的数据库地址登录名和密码

SQL Server 2014如何导出数据库

在 SQL Server Management Studio 中删除记住的登录名和密码列表

SQL Server Management Studio无法记住密码

sql server2012怎么设置用户名密码