简体   繁体   English

SQL 服务器 2005 — 登录问题

[英]SQL Server 2005 — Login issue

I recently installed SQL Server 2005 on my laptop.我最近在笔记本电脑上安装了 SQL Server 2005。 When I run as administrator (right click -> run as administrator) I am able to log in (to sql server management studio);当我以管理员身份运行时(右键单击 -> 以管理员身份运行)我能够登录(到 sql 服务器管理工作室); but when I directly try to login I'm getting error code 18456 (state 11), even though I'm the administrator.但是当我直接尝试登录时,我收到错误代码 18456(状态 11),即使我是管理员。

Can someone please tell me what I'm missing.有人可以告诉我我错过了什么。

when run sql management studio as administrator it will run,but when you ran as your account you can not log in, when you log in as administrator you go to security -> Logins and then add your account to users and give it roll as sysadmin i try this and its work fine.当以管理员身份运行 sql 管理工作室时,它将运行,但是当您以您的帐户运行时,您无法登录,当您以管理员身份登录时,您 go 到安全 - >登录,然后将您的帐户添加到用户并以系统管理员身份滚动我试试这个,它的工作正常。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM