I just finished an install of SQL Server 2008 and when it came ot the screen where it asks you if you want to connect through windows authentification or mixed mode I chose mixed mode. I supplied an sa password and then where it asks what accounts are part of the system admins I did not chose to add myself but added the computer's "administrators" account -- which I am a part of. I did not add myself because I am prepping this machine to be used as the base image for a team of developers and thought that if I added myself then I would also be adding myself as the admin for everyone who uses this image. I thought that adding "administrators" would be smart since I know that anyone who uses this image will also be a part of the administrators for that machine. SQL Server is only being added to the machine for local development and for the client tools to access our company's dev/staging/prod SQL Servers.
I just fired up SQL Management Studio and tried connecting to localhost with windows authentification and I am being prompted for a password. Not what I wanted...How do I fix this without a reinstall?
preguntado el 01 de febrero de 12 a las 04:02
Connect to the server with SQL Management Studio with
sa login, add your windows user in Security->Logins and give this new login
About server-level roles you can read here http://msdn.microsoft.com/en-us/library/ms188659.aspx.