upctl database session cancel
Terminate client session or cancel running query for a database
Examples
upctl database session cancel 0fa980c4-0e4f-460b-9869-11b7bd62b832 --pid 2345422
upctl database session cancel mysql-1 --pid 2345422 --terminate
Options
Option | Description |
---|---|
--pid |
Process ID of the session to cancel. Default: 0 |
--terminate |
Request immediate termination instead of soft cancel. |
--help , -h |
help for cancel Default: false |
Global options
Option | Description |
---|---|
--client-timeout , -t |
Client timeout to use in API calls. Default: 0s |
--config |
Configuration file path. |
--debug |
Print out more verbose debug logs. Default: false |
--force-colours |
Force coloured output despite detected terminal support. |
--no-colours |
Disable coloured output despite detected terminal support. Colours can also be disabled by setting NO_COLOR environment variable. |
--output , -o |
Output format (supported: json, yaml and human) Default: human |
Related commands
Command | Description |
---|---|
upctl database session | Manage database sessions |