本文介绍了如果我没有在设置中输入密码,SQL Server 2012 的默认密码是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在没有输入密码的情况下安装了 SQL Server 2012.

I installed SQL Server 2012 without putting a password .

SQL Authentication 的默认密码是什么,登录名是 sa ?

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

登录:sa密码:空白,没有成功......

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

谢谢

推荐答案

如果您使用 Windows 身份验证模式安装 SQL Server 并想要更改它,您需要做 2 件不同的事情:

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

  1. 转到 SQL Server 属性/安全选项卡并将模式更改为 SQL Server 身份验证模式

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

转到安全/登录,打开 SA 登录属性

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.为 SA 用户分配密码

b. Assign password to SA user

c.打开状态"选项卡并启用登录.

c. Open "Status" tab and enable login.

这篇关于如果我没有在设置中输入密码,SQL Server 2012 的默认密码是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-27 20:00