简体   繁体   中英

SQL Server 2008 won't let me enable the 'sa' user

I normally use the sa user for development, but SQL Server isn't letting me enable the account. It says:

Cannot set a credential for principal user 'sa'

When installing it I set it up with mixed mode.

This may be of help. But I agree with Coehoorn's statement - DON'T USE SA.

Don't use the sa account ever, even for development work. Not only is it dangerous from a security standpoint, it can also lead to bugs popping up at deployment when you suddenly don't have permissions for something.

Instead of SA, grant your own windows account the appropriate perms in SQL Server. Leave mixed mode off if possible, or if you must have mixed mode, disable the SA account itself.

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