sql server - How do you reset the SA password? -
how on earth reset sa password? know how go dialogs , reset password. that's i'm asking about. runs little deeper click, click, new password, done!
i have no idea sa password is. nor previous user of machine. previous user says never had sql express ever running on machine.
this journey started when tried create new database , told didn't have permissions so. okay, decided give myself appropriate permissions. nope, can't give myself nor else permissions.
i tried changing password using ssms. message saying don't have permissions change it.
i tried using following sql script. again, no permissions.
go alter login [sa] default_database=[master] go use [master] go alter login [sa] password=n'newpassword' must_change go
the database sql server 2008 express (10.0.2531.0). sql server management studio ssms 2008. os windows 7 enterprise i'm local admin, , domain user. created local admin account logging ssms machine on domain. have no problems connecting our network database servers.
any suggestions? simple fix. thanks...
this should help: start sql server in single-user mode. allow local administrators connect sysadmin fixed server role. detailed description of how can found here.
Comments
Post a Comment