Solved

How do i test my remote sql server connection?

Posted on 2010-11-12
4
600 Views
Last Modified: 2012-06-21
How do i test my remote  sql server connection  ?, i have ip address and port number.
( Like ping utility).  os is windows xp
0
Comment
Question by:Varshini
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 7

Expert Comment

by:50cal
ID: 34122373
If you just want to test connection's to the port/ip of the server/machine you could try the command line
telnet ip.of.sql.server port

50cal.
0
 
LVL 12

Expert Comment

by:NormanMaina
ID: 34122694
from the command prompt:

OSQL -S SERVERNAME -U USERNAME -p password

or
 (if you using intergrated security to connect to sql server)

OSQL - S SERVERNAME - E
0
 
LVL 11

Expert Comment

by:louisreeves
ID: 34122945
Here is a tool which i found on a Dell Management Console CD. You can test for anykind of connection you like. IT will work with SQL and much more. it is called troubleshoot.msi. IT is a general tool to troupleshooot any kind of connection issue. you have to rename the file from .PDF to MSI. It work very well and DELL also has great support.
0
 
LVL 12

Accepted Solution

by:
NormanMaina earned 500 total points
ID: 34126406
were you successful?

50cal's idea of using Telnet is very useful if you want to test if two machines can communicate through a certain port - this is because some posts may be blocked by firewall etc

You can mix with using OSQL or SQLCMD(for sql server 2005 onwards) to check if you can actually connect to an instance of SQL Server using some credentials either integrated security or through mixed mode authentication using sql server log ins.
For OSQL to work you need to have an instance of sql server in both machines being tested.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question