SQLServer删除登录记录用户名和密码
2024-09-25 16:31:54
介绍:
作为一名开发人员都会知道我们做的项目都要用到数据库,数据库都需要账号和密码,然而问题来了,做的东西多了那些没用的账号和密码还在哪里纠缠着我们。所有我们不能忍了删除掉他。
网上很多都是2008的是删除方案,知道我看到了这篇:http://stackoverflow.com/questions/349668/removing-the-remembered-login-and-password-list-in-sql-server-management-studio
版本路径说明
SQL Server Management Studio delete the file C:\Users\%username%\AppData\Roaming\Microsoft\SQL Server Management Studio\13.0\SqlStudio.bin SQL Server Management Studio delete the file C:\Users\%username%\AppData\Roaming\Microsoft\SQL Server Management Studio\12.0\SqlStudio.bin SQL Server Management Studio delete the file C:\Users\%username%\AppData\Roaming\Microsoft\SQL Server Management Studio\11.0\SqlStudio.bin SQL Server Management Studio delete the file C:\Users\%username%\AppData\Roaming\Microsoft\Microsoft SQL Server\\Tools\Shell\SqlStudio.bin SQL Server Management Studio delete the file – same as above answer but the Vista path. C:\Users\%username%\AppData\Roaming\Microsoft\Microsoft SQL Server\\Tools\Shell\mru.dat
注意:AppData
是一个隐藏文件夹。您需要在资源管理器中显示隐藏的文件夹。
上面只是简述了所对应版本需要删除的文件路径。还是需要我们手动去找到然后删除对应文件的。
当然我们也可以不这样那就复制下面的路径吧。
SQL Server Management Studio :%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 :%AppData%\Microsoft\SQL Server Management Studio\11.0\
SQL Server Management Studio :%AppData%\Microsoft\Microsoft SQL Server\100\Tools\Shell\ SQL Server Management Studio :%AppData%\Microsoft\Microsoft SQL Server\100\Tools\Shell\
这样找到对应版本数据库,直接复制版本后面的路径,然后在根据第一个代码路径找到需要删除的文件名即可。这样是不是很爽啊。
最新文章
- 基于 BinaryReader 的高效切割TXT文件
- 用c#开发微信 系列汇总
- 【BZOJ-1103】大都市meg 树状数组 + DFS序
- dll 导出函数名的那些事
- csuoj 1395: Timebomb
- Git入门及上传项目到github中
- 常用UI布局
- hdu 1560 DNA sequence(搜索)
- flot中文说明文档 简版
- [转] js call
- 设计模式 Mixin (混入类)
- single-row function和muti-row function
- Azure File文件共享(6):使用Python开发
- RedHat升级内核成功
- 《高性能Javascript》读书笔记-4
- 07-09 07:28:38.350: E/AndroidRuntime(1437): Caused by: java.lang.ClassNotFoundException: Didn't find class ";com.example.googleplay.ui.activity.MainActivity"; on path: DexPathList[[zip file ";/data/app/c
- Oracle篇 之 数据操作
- nginx访问502 gateway,*1 connect() failed (111: Connection refused) while connecting to upstream
- HDU2665 求区间第K大 主席树
- python 启动新进程执行脚本