Skip to main content
GuideServerConfigure and deploy Tabsdata servers on your machine.TutorialsConfigure data integration workflows within a running Tabsdata server.API ReferenceCLI ReferenceRelease Notes
Version: 2.4.1

tdk connection check

Check that a collection's connection connects, as a server-side probe.

A check that ran and could not connect exits 0 with 'ok: false' in its result

tdk connection check \
--proj quickstart \
--name sales_data \
--no-wait \
--timeout timeout-example \
--conn-file conn-postgres.yaml \
--metadata \
--sample sample-example \
--len 20 \
--format table \
--browse \
--wrap \
--max-width max_width-example \
--profile production
FlagTypeRequiredDescription
--proj, -PstringOptionalProject to target; overrides the pinned project. Prompted for when a command needs one and neither is set.
--name, -nstringOptionalName of the source/destination collection whose connection to use. Default: the pinned collection.
--no-waitflagOptionalReturn at once instead of waiting for the probe to end. Exits 7 when '--timeout' runs out and 8 when the probe did not succeed.
--timeoutstringOptionalStop waiting after S seconds, at most 300. Default: 60.
--conn-filestringOptionalCheck this connection document ('-' for stdin) here instead, with the locally installed connector and no server.
--metadataflagOptionalWith '--conn-file': also list the entities.
--samplestringOptionalWith '--conn-file': also read rows of FQN.
--lenstringOptionalWith '--sample': rows to read. Default: 20.
-o, --formattable | json | yamlOptionalOutput format. 'json' and 'yaml' give a listing as an array and table data as one object per row.
--browse, --printflagOptionalOpen the table in a viewer that scrolls both ways, or print it and return.
--wrapflagOptionalShow every value whole, wrapping long and multi-line values inside their column instead of cutting them.
--max-widthstringOptionalMaximum width of each column, in characters; longer values are cut and end in '…'. Use 0 for no limit. Defaults to the width each table sets.
--profilestringOptionalProfile whose login and pinned project and collection this command uses; with no NAME, the default profile. Default: the profile set with 'tdk set --profile', else the default profile.