简体   繁体   中英

SQL Server 2005 — Login issue

I recently installed SQL Server 2005 on my laptop. When I run as administrator (right click -> run as administrator) I am able to log in (to sql server management studio); but when I directly try to login I'm getting error code 18456 (state 11), even though I'm the administrator.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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