Re: MSDE 2000 SA Account Password
From: Russell Fields (rlfields_at_sprynet.com)
Date: 08/27/03
- Next message: Russell Fields: "Re: Deny Access to SQL Server Login"
- Previous message: John Aspenleiter: "Re: Deny Access to SQL Server Login"
- In reply to: itme: "MSDE 2000 SA Account Password"
- Next in thread: itme: "Re: MSDE 2000 SA Account Password"
- Reply: itme: "Re: MSDE 2000 SA Account Password"
- Reply: itme: "Re: MSDE 2000 SA Account Password"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 27 Aug 2003 10:50:12 -0400
Did you try just leaving the '-P' off of the command line?
If you have forgotten the sa password, you can reset the password by
logging in as a member of the sysadmin fixed server role and using
sp_password.
http://faq.oneandone.co.uk/server/ms_windows_servers/10.html
Of course, if you have another account that runs as sysadmin and you use
trusted connections, then you do not have the password lying around in
scripts. Recommended.
Russell Fields
PS - Here is a post (from the University of Chicago!) about resetting the
password.
http://security.uchicago.edu/windows/mssql/index.shtml
"itme" <netadmin@kolcraft.com> wrote in message
news:0b6b01c36c98$7f107680$a401280a@phx.gbl...
> SQL Newbie.
>
> I have a test server running MSDE 2000. I am trying to
> access the database but I don't know the sa account
> password. At a command propmt, I type osql -U sa -P
> with a number of passwords and leaving it blank and it
> returns the message "Failed login for account 'sa' "
> Does anyone know how I can reset this account or what the
> default password is for MSDE 2000? No Service Packs have
> been applied.
>
> Thank You
- Next message: Russell Fields: "Re: Deny Access to SQL Server Login"
- Previous message: John Aspenleiter: "Re: Deny Access to SQL Server Login"
- In reply to: itme: "MSDE 2000 SA Account Password"
- Next in thread: itme: "Re: MSDE 2000 SA Account Password"
- Reply: itme: "Re: MSDE 2000 SA Account Password"
- Reply: itme: "Re: MSDE 2000 SA Account Password"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|