SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Connecting to SQL Server from another computer
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

YogiBear
Starting Member

2 Posts

Posted - 07/31/2012 :  14:50:31  Show Profile  Reply with Quote
Hello
I am using SQL Server 2008 Express and I have a ready Sql DataBase on my computer. I want to connect to this DataBase from another computer in my LAN network.
I have no idea how to do this, How can I know the DataBase IP?

Thank you very much :)

visakh16
Very Important crosS Applying yaK Herder

India
47189 Posts

Posted - 07/31/2012 :  15:01:51  Show Profile  Reply with Quote
are the machines in same domain?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

YogiBear
Starting Member

2 Posts

Posted - 07/31/2012 :  15:06:00  Show Profile  Reply with Quote
Yes I think so,we are both connected to the same router.
Go to Top of Page

denis_the_thief
Constraint Violating Yak Guru

Canada
470 Posts

Posted - 08/02/2012 :  08:59:44  Show Profile  Reply with Quote
2 more ideas:

- you may need to go to SQL Server Configuration Manager and enable some Protocols under the Network Configuration

- If your Firewall is on you may need to allow SQL Server through, i.e. add it to the exception list
Go to Top of Page

sql-lover
Yak Posting Veteran

59 Posts

Posted - 08/04/2012 :  00:31:23  Show Profile  Reply with Quote
quote:
Originally posted by YogiBear

Hello
I am using SQL Server 2008 Express and I have a ready Sql DataBase on my computer. I want to connect to this DataBase from another computer in my LAN network.
I have no idea how to do this, How can I know the DataBase IP?

Thank you very much :)



Connecting how? from a .Net or PHP code? ...It depends of what you mean with connecting.

What you usually require is the connection string which is the server name, if you are using a default instance, plus the default SQL port. That connection string is what you write in your piece of code in order to connect to your database.

If you just want to connect via Management Studio, just open it and do the same: put the server's name and your login. If you have SQL login there already you will be able to connect as well.
Go to Top of Page

jackv
Flowing Fount of Yak Knowledge

United Kingdom
1775 Posts

Posted - 08/04/2012 :  11:57:44  Show Profile  Visit jackv's Homepage  Reply with Quote
To confirm you can see the serever - try a ping test from the command line, although sometimes administrators block this test. You can also try a telnet test - from the command line . This enables you to check the port access.

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000