破解SA的密码的方法
2006-10-23 01:46
357 查看
0)停掉你现有的数据库服务。
1)新建一个实例,就是重新安装一次sql server,以下称为new
2)把你旧的数据库实例(以下称为old)的master.mdf , master.ldf copy到一个文件夹
3) 在new中,通过attach db的方式把文件夹中的两个文件加为new中的数据库,当然名称和位置在添加的时候都要改的。
4)在new 中,通过语句的方式,把master中的表sysxlogins 中sa的密码更新到你刚添加的数据库(old中的master)的表sysxlogins中对应的sa 的密码字段。
5)把你刚添加的数据库(old中的master)在new中detachdb,然后把文件覆盖掉old中对应文件(覆盖前把文件备份)
6)重新启动old服务器,看是否可行
7)卸载new服务器
http://www.vchelp.net/cndevforum/subject_view.asp?subject_id=88141
http://www.mssqlcity.com/FAQ/Trouble/error_259.htm
http://www.mssqlcity.com/FAQ/Devel/AmendSysTb.htm
How can I resolve the error 259?
Answer:
This is the error 259 message text:
Ad hoc updates to system catalogs are not enabled. The system administrator
must reconfigure SQL Server to allow this.
You will get the error 259 when you tried to modify the system catalogs directly while the allow updates system configuration option is set to 0. To work around the error 259, you should set the allow updates option to 1 by using the sp_configure system stored procedure.
Check this link for more details:
How can I edit the system tables manually?
How can I edit the system tables manually?
--------------------------------------------------------------------------------
Answer:
It is not recommended to do, but it is possible. You should set the allow updates option to 1 by using the sp_configure system stored procedure.
This is the example:
sp_configure 'allow updates', 1
GO
RECONFIGURE WITH OVERRIDE
GO
Read about the sp_configure system stored procedure in SQL Server Books Online
Code:
Code:
1)新建一个实例,就是重新安装一次sql server,以下称为new
2)把你旧的数据库实例(以下称为old)的master.mdf , master.ldf copy到一个文件夹
3) 在new中,通过attach db的方式把文件夹中的两个文件加为new中的数据库,当然名称和位置在添加的时候都要改的。
4)在new 中,通过语句的方式,把master中的表sysxlogins 中sa的密码更新到你刚添加的数据库(old中的master)的表sysxlogins中对应的sa 的密码字段。
5)把你刚添加的数据库(old中的master)在new中detachdb,然后把文件覆盖掉old中对应文件(覆盖前把文件备份)
6)重新启动old服务器,看是否可行
7)卸载new服务器
http://www.vchelp.net/cndevforum/subject_view.asp?subject_id=88141
http://www.mssqlcity.com/FAQ/Trouble/error_259.htm
http://www.mssqlcity.com/FAQ/Devel/AmendSysTb.htm
How can I resolve the error 259?
Answer:
This is the error 259 message text:
Ad hoc updates to system catalogs are not enabled. The system administrator
must reconfigure SQL Server to allow this.
You will get the error 259 when you tried to modify the system catalogs directly while the allow updates system configuration option is set to 0. To work around the error 259, you should set the allow updates option to 1 by using the sp_configure system stored procedure.
Check this link for more details:
How can I edit the system tables manually?
How can I edit the system tables manually?
--------------------------------------------------------------------------------
Answer:
It is not recommended to do, but it is possible. You should set the allow updates option to 1 by using the sp_configure system stored procedure.
This is the example:
sp_configure 'allow updates', 1
GO
RECONFIGURE WITH OVERRIDE
GO
Read about the sp_configure system stored procedure in SQL Server Books Online
Code:
sp_configure 'allow updates', 1 GO RECONFIGURE WITH OVERRIDE GO
Code:
use master_old update sysxlogins set password=NULL where name='sa' select name,password from sysxlogins
相关文章推荐
- 讲解修改Sybase数据库sa密码的实用方法
- 另类方法破解管理员密码
- 修改MYSQL密码和密码破解的常用方法 [转]
- 破解XP系统密码的常用的几种方法
- 破解mysql密码的几种方法
- CentOS7.0以下破解root密码方法和光盘破解grub/root密码方法
- 九种破解Xp登录密码方法
- 详解MYSQL数据库密码的加密方式及破解方法(4)
- 破解压缩包密码方法
- Linux各版本root本地密码破解方法
- 忘记路由器密码不用愁 路由器密码破解方法解析
- SQL Server 2008打开输入sa密码提示无法登陆数据库的解决方法
- ESXi5.1物理主机root用户密码的破解方法(一)
- 忘记SQL Server的SA用户密码解决方法
- 破解飓风视频播放密码的方法
- 无线网络密码破解方法
- 一篇比较好的破解LINUX密码方法
- 黑客用四种方法破解密码
- 无线密码破解----minidwep-gtk的PIN破解方法
- 十个常用破解网络密码的方法!