Sql Server 2012 enterprise "sa" login failed. Error: 18456

Sql Server 2012 enterprise "sa" login failed. Error: 18456

SQL 服务器 2012。Windows 10 专业。

我启用了 "sa" 用户帐户,身份验证模式设置为 "windows authentication and SQL server authentication"。我为 "sa user account" 设置了密码。但我无法登录。错误:18456。

我可以成功登录 windows 身份验证。

"sa" 系统管理员帐户状态已启用。

我发现了很多重复的问题,但是 none 解决了这个问题。

您需要将 SQL-Instance 的身份验证模式配置为 "mixed"(SQL 服务器和 Windows 身份验证模式。)。

如果您刚刚更改它,则需要重新启动 SQL-Server 服务。

Here's the MS-documentation and here 一个 SO 答案。