February 13, 2007 at 10:48 pm
Hi there
I want to find out the sql server instance name and I cannot connect to sql server for doing this. I have access only to the C drive where sql is installed. Can i lookup any file in the sql server folder or any where else for finding out the instance name?
Thanks
"Keep Trying"
February 14, 2007 at 3:27 am
Hi
You can find the instance name from the registry if you have access to that, at HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\Instance Names\SQL. It may also be possible to find it in one of the log files created when it was installed (%ProgramFiles%\Microsoft SQL Server\90\Setup Bootstrap\Log\Files).
But...
Wouldn't it just be easier to ask the person who installed it? I'm intrigued...
Regards,
Duncan
February 14, 2007 at 4:28 am
you should be able to browse and find a list of the server/instance names. SQLPing will also do the same job. Well documented then, hope this isn't a production system?
[font="Comic Sans MS"]The GrumpyOldDBA[/font]
www.grumpyolddba.co.uk
http://sqlblogcasts.com/blogs/grumpyolddba/
February 14, 2007 at 10:24 pm
Hi
Thanks Duncan & Colin.
Duncan -
I want this information for connecting and restoreing a db at a clients place remotely and person who has installed it has already left the place.
Colin -
i will look into sql ping and this is a production system
"Keep Trying"
February 15, 2007 at 3:58 am
you should also be able to see the instance name in the services, my 2005 instance service shows with instance name in brackets, so i could register by ip\instancename - I only have the one sql2005 instance so have no others I can compare against.
[font="Comic Sans MS"]The GrumpyOldDBA[/font]
www.grumpyolddba.co.uk
http://sqlblogcasts.com/blogs/grumpyolddba/
February 15, 2007 at 9:19 am
SQL Server errorlog(s) anyone ?
RegardsRudy KomacsarSenior Database Administrator"Ave Caesar! - Morituri te salutamus."
February 16, 2007 at 2:21 am
Hi
How did you get on? I finally found the instance name for my machine in that setup files folder I mentioned. It's in the one ending in SQL.log (quite a large one). I just searched for "instance name" and there it was.
Hope you get this sorted.
Regards,
Duncan
February 25, 2007 at 9:15 pm
hi
i got it the same way...in the setup files folder and also registry.
regards
chirag
"Keep Trying"
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy