
作为一名开发人员都会知道我们做的项目都要用到数据库,数据库都需要账号和密码,然而问题来了,做的东西多了那些没用的账号和密码还在哪里纠缠着我们。所有我们不能忍了删除掉他。
网上很多都是2008的是删除方案,知道我看到了这篇:http://stackoverflow.com/questions/349668/removing-the-remembered-login-and-password-List-in-sql-server-management-studio
版本路径说明sql Server Management Studio 2016 delete the file C:\Users\%username%\AppData\Roaming\Microsoft\sql Server Management Studio\13.0\sqlStudio.binsql Server Management Studio 2014 delete the file C:\Users\%username%\AppData\Roaming\Microsoft\sql Server Management Studio\12.0\sqlStudio.binsql Server Management Studio 2012 delete the file C:\Users\%username%\AppData\Roaming\Microsoft\sql Server Management Studio\11.0\sqlStudio.binsql Server Management Studio 2008 delete the file C:\Users\%username%\AppData\Roaming\Microsoft\Microsoft sql Server\100\Tools\Shell\sqlStudio.binsql 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
注意:AppData是一个隐藏文件夹。您需要在资源管理器中显示隐藏的文件夹。
上面只是简述了所对应版本需要删除的文件路径。还是需要我们手动去找到然后删除对应文件的。
当然我们也可以不这样那就复制下面的路径吧。
sql Server Management Studio 2016 :%AppData%\Microsoft\sql Server Management Studio\12.0\ sql Server Management Studio 2014 :%AppData%\Microsoft\sql Server Management Studio\12.0\
sql Server Management Studio 2012 :%AppData%\Microsoft\sql Server Management Studio\11.0\
sql Server Management Studio 2008 :%AppData%\Microsoft\Microsoft sql Server0\Tools\Shell\
sql Server Management Studio 2005 :%AppData%\Microsoft\Microsoft sql Server0\Tools\Shell\
这样找到对应版本数据库,直接复制版本后面的路径,然后在根据第一个代码路径找到需要删除的文件名即可。这样是不是很爽啊。
总结以上是内存溢出为你收集整理的SQLServer删除登录记录用户名和密码全部内容,希望文章能够帮你解决SQLServer删除登录记录用户名和密码所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)