How to Test Connections

The dbping command-line utility is provided to help troubleshoot connections. In particular, you can use it to test if a server with a certain name is available on your network.

The dbping utility takes a connection string as a command-line option, but by default only those pieces required to locate a server are used. It does not attempt to start a server.

The following line tests to see if a server named Ciaran is available over a TCP/IP connection:
dbping -c "eng=Ciaran;CommLinks=tcpip"
The following command tests to see if a default server is available on the current machine:
dbping
Related concepts
Ways to Connect
Supported Connection Interfaces
Connection Status
How Connection Parameters Work
Connection Parameters in ODBC Data Sources
Interactive SQL Connections
Using Server Classes for Remote Data Access
ODBC Data Sources
File Data Sources
The iAnywhere Solutions Oracle Driver
Database Connections Using OLE DB
Connections from Other Databases
Integrated Logins
Connection Pooling
Temporary Connections
Logical Server Configuration
How to End Connections
Connection Logging
Related reference
Roadmap for Connections