我最近在维修矿井时使用了我公司的备用笔记本电脑(已设置了一般用户).登录数据库时,我已经在SQL Server Management Studio中选中了记住密码"选项.
I've recently used our company's spare laptop (that has a general user set up) while mine was being repaired. I've checked the "Remember password" option in SQL Server Management Studio when logging in to the database.
我需要清除用于防止下一个将使用笔记本电脑的人使用我的登录名和密码的登录名和密码信息.我该怎么办?
I need to clear the login and password information that I have used to prevent the next person that will use the laptop from using my login names and passwords. How can I do this?
推荐答案自2012年以来,这里也提到了另一个答案,您可以通过如何从连接到服务器"对话框中删除缓存的服务器名称?.刚刚确认此删除在MRU列表中可以在2016年和2017年正常工作.
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 and 2017.
SQL Server Management Studio 2017 删除文件 C:\Users\%username%\AppData\Roaming\Microsoft\SQL Server Management Studio\14.0\SqlStudio.bin
SQL Server Management Studio 2017 delete the file C:\Users\%username%\AppData\Roaming\Microsoft\SQL Server Management Studio\14.0\SqlStudio.bin
SQL Server Management Studio 2016 删除文件 C:\Users\%username%\AppData\Roaming\Microsoft\SQL Server Management Studio\13.0\SqlStudio.bin
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 删除文件 C:\Users\%username%\AppData\Roaming\Microsoft\SQL Server Management Studio\12.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 删除文件 C:\Users\%username%\AppData\Roaming\Microsoft\SQL Server Management Studio\11.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 删除文件C:\Users\%username%\AppData\Roaming\Microsoft\Microsoft SQL Server\100\Tools\Shell\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 删除文件-与上述答案相同,但Vista路径相同. C:\Users\%username%\AppData\Roaming\Microsoft\Microsoft SQL Server\90\Tools\Shell\mru.dat
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
这些是Vista/7/8的配置文件路径.
These are profile paths for Vista / 7 / 8.
注意,AppData是一个隐藏的文件夹.您需要在资源管理器中显示隐藏的文件夹.
Note, AppData is a hidden folder. You need to show hidden folders in explorer.
您只需在服务器/用户名"下拉列表中按Delete(确认适用于SSMS v18.0)即可.原始来源来自 blog.sqlauthority/2013/04/17/sql-server-remove-cached-login-from-ssms-connect-dialog-sql-in-sixty-seconds -049/提到此功能自2012年起可用!
You can simply press delete from the Server / User name drop down (confirmed to be working for SSMS v18.0). Original source from blog.sqlauthority/2013/04/17/sql-server-remove-cached-login-from-ssms-connect-dialog-sql-in-sixty-seconds-049/ which mentioned that this feature is available since 2012!
更多推荐
在SQL Server Management Studio中删除记住的登录名和密码列表
发布评论