REACTIVATE CONNECTION

Core command REACT CO REACO

Reactivates an inactive database connection

Arguments

<id> (mandatory) an existing, currently inactive connection ID

Examples

REACTIVATE CONNECTION MYDB01;

Notes

Reactivates an inactive database connection: REACTIVATE CONNECTION <id>.

id is mandatory and the user must already know it: an inactive connection is invisible to every other command (CONNECT, SHOW ALL CONNECTIONS, etc.) and only listed in the config screen's "Inactive connections" view. If id does not name any connection at all (active or inactive), the command fails with a clear "cannot find this ID" error rather than the generic "not defined" used elsewhere, since this is the one command whose whole purpose is to look up an ID the caller believes is merely inactive, so a plain "not defined" would be misleading. If id names a connection that is already active, the command says so and does nothing.

Otherwise asks for a [y/n] confirmation before proceeding; only y/yes reactivates, anything else aborts. Reactivation only flips the status back to ACTIVE; it never changes any other field, so whatever the connection looked like right before it was deactivated is exactly what comes back.

Last modified in release 5.0.8.