disconnect

Terminates connection to a server.

Syntax

{disconnect | disc} [all]

Examples

Usage

  • disconnect exits the connection stack one at a time. To exit from all the connections, use disconnect all.

  • The disconnect command behaves differently in Replication Server 15.1 and earlier. In these versions, a disconnect command terminates the gateway mode, and returns the working server status to the Replication Server that issued the first connect command. When your connection stack includes Replication Server versions 15.2, and 15.1 or earlier, and you issue a disconnect command, the show connection and show server commands may not display the expected output.

Permissions

Any user may execute this command.

Related reference
connect
show connection
show server