我在尝试连接到SQL Server时遇到此错误。
Microsoft SQL Server错误: 18456
谁能告诉我错误代码是什么意思?
发布于 2014-05-01 02:35:08
如果您尝试使用"SQL Server身份验证“进行连接,则可能需要修改您的服务器身份验证:
在对象资源管理器中的Microsoft SQL Server Management Studio中:
SQL右键单击服务器,然后单击“Properties
Security
”页面,然后单击“Server authentication
choose SQL Server and Windows Authentication mode
”单选按钮OK
发布于 2014-01-05 01:07:07
请查看这篇来自数据平台团队的博客文章。
http://blogs.msdn.com/b/sql_protocols/archive/2006/02/21/536201.aspx
您确实需要查看错误消息的状态部分,以找到问题的根本原因。
2, 5 = Invalid userid
6 = Attempt to use a Windows login name with SQL Authentication
7 = Login disabled and password mismatch
8 = Password mismatch
9 = Invalid password
11, 12 = Valid login but server access failure
13 = SQL Server service paused
18 = Change password required
之后,谷歌如何解决这个问题。
发布于 2015-07-25 23:54:32
在打开之前,右击并选择“以管理员身份运行”。这为我解决了这个问题。
https://stackoverflow.com/questions/20923015
复制相似问题