Wednesday, 13. January 2010
In our life and work, these follows often happen: I’ve forgotten the sa password for SQL Server, what can I do? How to reset or change the forgotten SQL password? Don’t worry about that, here I will give you some methods to recover it.
Method 1. Change SQL password from the command line
- Open a command prompt window by selecting “Start“–>”Run…”, and typing “cmd.exe” in the “Run” dialog box.
Read more
Wednesday, 6. January 2010
1.Open the SQL Server express management studio
2.Connect to SQL Server using windows authentication
3.Right click the server name and choose properties
4.Go to security tab. Change server authentication to “SQL Server and Windows Authentication mode” Read more
Wednesday, 6. January 2010
Look, there are so many similar questions:
“How to reset sa password?”
“How to change SQL password without data loss?”
“I’ve forgotten the sa password for SQL Server – what can I do?”
“How to Change SA PasswordIf Forgot or Lost SQL Password?”
…
In fact Read more
Tuesday, 15. December 2009
You have a variety of options for updating the SQL Server Agent password on the clients. The method you specify depends on the tools available on the client computer.
If the SQL Server Enterprise Manager is available on the client computer, you can change the sa password directly. For details, follow the procedure in Changing the sa Password on the Server. Read more
Tuesday, 15. December 2009
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:
- Edit the ‘runserver’ file. By default it’s in the $SYBASE_HOME/install directory
- 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)
Read more
Tuesday, 15. December 2009
If you happen to forget your SQL Server password for ’sa’ account, then here’s a simple query to help you reset it:
| ALTER LOGIN [sa] WITH DEFAULT_DATABASE=[master]
GO
USE [master]
GO
ALTER LOGIN [sa] WITH PASSWORD=N’MyNewPassword’ MUST_CHANGE
GO |
In Case you remember your Old Password and want to change the ’sa’ password, use this query:
| ALTER LOGIN [sa] WITH PASSWORD = N’MyNewPassword’ OLD_PASSWORD = ‘MyOldPassword’;
GO |
Tuesday, 15. December 2009
1.Open a command prompt window by selecting “Start”–>”Run…”, and typing “cmd.exe” in the “Run” dialog box.
2.Change to the directory in which the MSSQL or MSDE utilities are stored (this is usually C:MSDEbinn, C:Program FilesMSSQLbinn, etc.).
3.Type the following command where <newpassword> is the password you have chosen:
| osql -U sa -P ”" -Q ”sp_password NULL,<newpassword>,sa” |
Tuesday, 15. December 2009
When was the last time the SQL Server sa password changed?
With the rights that the sa login has by default in SQL Server, it is imperative to change this password on a regular basis whether it is monthly, quarterly or semi-annually. In addition, as DBAs move on to other opportunities, it is wise to change the sa password as well. Changing the sa password should be a relatively easy process requiring little to no impact on the organization. Unfortunately, changing the sa password on a regular basis is not a common practice at most organizations, because the impacts of changing the password are unknown.
Read more
Monday, 14. December 2009
A few days ago, I had a painful exprience that I lost sa password on my MS SQL Server database, and I almost took the whole weekend to look for some efficient SA password recovery solutions. I asked friends, searched on Internet and even bought some books… Fortunately, I finally got MS SQL Server Password Unlocker and it instantly changed the SA password but no data loss. Besides, I also got a couple of good “recover SA password” solutions in order to save your weekend in case you have lost or forgot MS SQL Server passwords (SA password!) Read more
Thursday, 3. December 2009
The sa account has full rights in the MS SQL Sever environment. When you install the MS SQL Server program, the sa account is created and sa password is default blank (NULL). You can also change the blank sa password to a strong one when the setup program is running. Read more