Theme Graphic
Theme Graphic

sql server password recovery

the ways to reset sql password you have forgot or lost on ms sql server
Posted on Thursday, January 07, 2010 at 1:48 AM

How to reset 'sa' password if SQL Password is lost/forgotten/unknown?

How to reset 'sa' password if SQL Password is lost/forgotten/unknown?



First off, you can log in as any SSO role user and have them reset the 'sa' password for you.

Being life and life being not always so simple we may not always have an SSO role handy (or configured)

So, we resort to the following:
  1. Edit the ‘runserver' file. By default it's in the $SYBASE_HOME/install directory
  2. Add "-psa" (for password 'sa') to the end of the command line. (I have noticed that this DOES NOT work in windows unless it's the FIRST param on the command line)


  3. Save file and reboot server. You ‘may' have to use Unix ‘kill' or Windows ‘End Task' but I suggest that as a last resort.
  4. ...

 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.