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
Security Concerns: Unrestricted Database Access
Integrated Logins
Related reference
LogFile Connection Parameter [LOG]