August 8, 2012 at 9:55 am
Hi Guys,
Is there a default SA password in SQL server ?
if any body know then please share me.
because after installation i have to tried some password but it's not working.
August 8, 2012 at 9:59 am
August 8, 2012 at 10:10 am
There is no default, and a blank is not allowed in recent versions of SQL Server without someone checking a box to say they want one.
If you connect as a local administrator, you might be able to reset it. Alternatively, you can restart SQL Server in single user mode, and connect as a local administrator from the local console.
August 8, 2012 at 10:24 am
If you have a process logging in as sa, then for pre-2012 versions you'll be able to lift the sa password from the Win32 MSSQLSERVER (or your named instance) memory by using a debugger, as it's stored in plaintext.
Download the debugger of your choice, attach it to the MSSQLSERVER process, search for the Unicode string 'sa' (without quotes) and you'll find the password right next to it.
WARNING: Attaching the debugger to the service will prevent inbound connections from connecting to SQL Server and could cause issues from outages to corruption. Do this on development only!
---
Note to developers:Want to get the best help? Click here https://www.sqlservercentral.com/articles/forum-etiquette-how-to-post-datacode-on-a-forum-to-get-the-best-help (Jeff Moden)
My blog: http://uksqldba.blogspot.com
Visit http://www.DerekColley.co.uk to find out more about me.
August 8, 2012 at 10:25 am
much easier to just reset teh password, i think
Lowell
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply