Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

[connection]

Network and timeout settings.

[connection]
hostname = 127.0.0.1
port = 9042
factory = cqlshlib.ssl.ssl_transport_factory
timeout = 10
connect_timeout = 5
request_timeout = 10
client_timeout = 120

Keys

KeyTypeDefaultDescription
hostnamestring127.0.0.1Contact point hostname or IP. Overridden by positional host arg or CQLSH_HOST.
portinteger9042Native transport port. Overridden by positional port arg or CQLSH_PORT.
factorystringConnection factory (for SSL, set to cqlshlib.ssl.ssl_transport_factory).
timeoutinteger10General timeout in seconds (legacy).
connect_timeoutinteger5Connection timeout in seconds. Overridden by --connect-timeout or CQLSH_DEFAULT_CONNECT_TIMEOUT_SECONDS.
request_timeoutinteger10Per-request timeout in seconds. Overridden by --request-timeout or CQLSH_DEFAULT_REQUEST_TIMEOUT_SECONDS.
client_timeoutinteger120Client-side timeout for long operations.