Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Struck in single user mode

Author  Topic 

nitin1353
Constraint Violating Yak Guru

381 Posts

Posted - 2006-05-25 : 19:04:34
Hi
i am struck in sungle user mode.How do i come out?
plz help
regards

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2006-05-25 : 19:09:14
You can use the ALTER DATABASE command. Check BOL for details.

Tara Kizer
aka tduggan
Go to Top of Page

nitin1353
Constraint Violating Yak Guru

381 Posts

Posted - 2006-05-25 : 19:10:36
Tara
i am nt able to connect thru query analyzer
Regards
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2006-05-25 : 19:11:34
What is in the single user mode? The master database or a user database?

Tara Kizer
aka tduggan
Go to Top of Page

nitin1353
Constraint Violating Yak Guru

381 Posts

Posted - 2006-05-25 : 19:15:20
Reason: Server is in single user mode. Only one administrator can connect at this time.

This is the message i am getting

Regards
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2006-05-25 : 19:16:27
Did you restore the master database?

Tara Kizer
aka tduggan
Go to Top of Page

nitin1353
Constraint Violating Yak Guru

381 Posts

Posted - 2006-05-25 : 19:18:28
Nope
was just doing some r&d on my local machine
and i put my machine itno single user mode..
regards
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2006-05-25 : 19:20:41
How did you put your machine into single user mode?

Tara Kizer
aka tduggan
Go to Top of Page

nitin1353
Constraint Violating Yak Guru

381 Posts

Posted - 2006-05-25 : 19:22:45
net stop MSSQLServer
sqlservr -m

regards
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2006-05-25 : 19:25:53
-m means to put it into single user mode. So you'll need to start it up without this switch. Check out "Using Startup Options" article in BOL.

Tara Kizer
aka tduggan
Go to Top of Page
   

- Advertisement -