Login to Microsoft SQL Server Error: 18456(登录 Microsoft SQL Server 错误:18456)
问题描述
我在尝试连接到 SQL Server 时收到此错误.
I am getting this error while trying to connect to the SQL Server.
Microsoft SQL Server 错误:18456
Microsoft SQL Server Error: 18456
谁能告诉我错误代码是什么意思?
Can anybody tell me what the error code means?
推荐答案
如果您尝试使用SQL Server 身份验证"进行连接,那么您可能需要修改您的服务器身份验证:
If you're trying to connect using "SQL Server Authentication" then you may want to modify your server authentication:
在对象资源管理器的 Microsoft SQL Server Management Studio 中:
Within the Microsoft SQL Server Management Studio in the object explorer:
右击服务器,点击
Properties
转到安全页面
在Server authentication下选择SQL Server and Windows Authentication mode单选按钮
点击确定
重启 SQL 服务
这篇关于登录 Microsoft SQL Server 错误:18456的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:登录 Microsoft SQL Server 错误:18456
基础教程推荐
- 二进制文件到 SQL 数据库 Apache Camel 2021-01-01
- 在 MySQL 中:如何将表名作为存储过程和/或函数参数传递? 2021-01-01
- 表 './mysql/proc' 被标记为崩溃,应该修复 2022-01-01
- 如何根据该 XML 中的值更新 SQL 中的 XML 2021-01-01
- 在多列上分布任意行 2021-01-01
- MySQL 中的类型:BigInt(20) 与 Int(20) 2021-01-01
- oracle区分大小写的原因? 2021-01-01
- mysql选择动态行值作为列名,另一列作为值 2021-01-01
- 什么是 orradiag_<user>文件夹? 2022-01-01
- 如何在 SQL 中将 Float 转换为 Varchar 2021-01-01
