What is the default password for SQL Server 2012 if I didn't put a password in the setup?

北战南征 提交于 2019-12-11 02:59:28

问题


I installed SQL Server 2012 without putting a password .

What is the default password for SQL Authentication , where the login is sa ?

Login : sa and Password : blank , didn't do the trick ...

Thanks


回答1:


If you install SQL Server with Windows Authentication mode and want to change it, you need to do 2 different things:

  1. Go to SQL Server Properties/Security tab and change the mode to SQL Server authentication mode

  2. Go to security/logins, open SA login properties

a. Uncheck "Enforce password policy" and "Enforce password expiration" check box there if you decide to use weak password

b. Assign password to SA user

c. Open "Status" tab and enable login.




回答2:


Just try to Login in by Windows Authentication.

After Login, Look for Security Tab in Server tree,in that Login and then sa.

Click on properties and change the password.

Do let me know if it dosen't works..



来源:https://stackoverflow.com/questions/24217540/what-is-the-default-password-for-sql-server-2012-if-i-didnt-put-a-password-in-t

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!