简体   繁体   English

sql server 2005数据库密码恢复

[英]sql server 2005 database password recovery

i have one database in ms sql server 2005. 我在ms sql server 2005中有一个数据库。

i create this long time back, now want to modify it but i lost the password, i remember the user name for that database, is there any way to recover the password for that database or 我创建了很长时间,现在想修改它,但是我丢失了密码,我记得该数据库的用户名,是否有任何方法可以恢复该数据库的密码,或者

change its password ? 更改密码?

Thanks 谢谢

Databases don't have passwords. 数据库没有密码。 You may be talking about: 您可能在谈论:

  • the password of a database master key, certificate or other cryptographic key encrypted by password 通过密码加密的数据库主密钥,证书或其他加密密钥的密码
  • the password of a SQL Server login SQL Server登录名的密码
  • the password of database backup media 数据库备份媒体的密码

None of these can be recovered if lost. 如果丢失,这些都将无法恢复。 The only one that can be brute forced is if you lost access to a SQL instance, see How to add a Windows user to the sysadmin fixed server role in SQL Server 2005 as a failure recovery mechanism 唯一可以强制执行的操作是,如果您失去了对SQL实例的访问权限,请参阅如何将Windows用户添加到SQL Server 2005中的sysadmin固定服务器角色作为故障恢复机制。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM