且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

恢复数据库后,如何获取DB的最后密码?

更新时间:2023-02-02 21:14:03

除非你明确排除那个表(或者那个用户)从备份或恢复过程中,您无法做任何事情:还原意图就是这样做 - 将数据库恢复到完全备份时的状态。这包括所有备份的字段...



您的用户必须使用您的我忘记密码设施并添加一个新设备。

My project in c#2010 have 2 button for Backup and restore.it has password to run.the password have been saved in one of tables in DB.
1-password is 123
2-user backup DB to destination disk
3-user changes the password to 321
4-user Restore DB from Backup file
Now the password 123 restored from Backup!!,But my last password was 321 !!!

How do I save My last password after restoring DB without restoring Backup password?
user only remember his last passsword.What can I do?

Unless you specifically exclude that table (or that user) from the backup or restore process, there isn't anything much you can do: Restore is intended to do exactly that - put a database back to exactly the state it was in when the Backup was taken. This includes all fields that were backed up...

Your user will have to use your "I forgot my password" facility and add a new one.