zoukankan      html  css  js  c++  java
  • SQLServer删除登录记录用户名和密码

    介绍:

    作为一名开发人员都会知道我们做的项目都要用到数据库,数据库都需要账号和密码,然而问题来了,做的东西多了那些没用的账号和密码还在哪里纠缠着我们。所有我们不能忍了删除掉他。

    网上很多都是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%AppDataRoamingMicrosoftSQL Server Management Studio13.0SqlStudio.bin
    
    SQL Server Management Studio 2014 delete the file C:Users\%username%AppDataRoamingMicrosoftSQL Server Management Studio12.0SqlStudio.bin
    
    SQL Server Management Studio 2012 delete the file C:Users\%username%AppDataRoamingMicrosoftSQL Server Management Studio11.0SqlStudio.bin
    
    SQL Server Management Studio 2008 delete the file C:Users\%username%AppDataRoamingMicrosoftMicrosoft SQL Server100ToolsShellSqlStudio.bin
    
    SQL Server Management Studio 2005 delete the file – same as above answer but the Vista path. C:Users\%username%AppDataRoamingMicrosoftMicrosoft SQL Server90ToolsShellmru.dat

    注意:AppData是一个隐藏文件夹。您需要在资源管理器中显示隐藏的文件夹。

    上面只是简述了所对应版本需要删除的文件路径。还是需要我们手动去找到然后删除对应文件的。

    当然我们也可以不这样那就复制下面的路径吧。

     SQL Server Management Studio 2016 :%AppData%MicrosoftSQL Server Management Studio12.0
     SQL Server Management Studio 2014 :%AppData%MicrosoftSQL Server Management Studio12.0
     SQL Server Management Studio 2012 :%AppData%MicrosoftSQL Server Management Studio11.0
     SQL Server Management Studio 2008 :%AppData%MicrosoftMicrosoft SQL Server100ToolsShell 

    SQL Server Management Studio
    2005 :%AppData%MicrosoftMicrosoft SQL Server100ToolsShell

    这样找到对应版本数据库,直接复制版本后面的路径,然后在根据第一个代码路径找到需要删除的文件名即可。这样是不是很爽啊。

  • 相关阅读:
    mysql中的内连接,外连接
    MySQL左连接、右连接
    attempted to assign id from null onetoone
    Hibernate session方法
    java.sql.SQLException: No operations allowed after connection closed.Connection was implicitly closed due to underlying exception/error
    hibernate多对一、一对一、一对多、多对多的配置方法
    齐头并进
    w5100的板子做回来了,再次犯错误。
    一个阶段的任务基本完成了
    任务繁重
  • 原文地址:https://www.cnblogs.com/yanbigfeg/p/9288563.html
Copyright © 2011-2022 走看看