You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 8, 2024. It is now read-only.
For the database access table, render a button for each row that says connect, that when clicked upon, a dialogue shows up with CLI commans with most field values preopulated.
For example, given this row, and our logged in user is kimlisa and my current cluster is asteroid-sun.teleport.sh:
Name Description Protocol Type URI Labels
--------------- -------------------------------- -------- ----------- ------------------------------------------------------------------------ ---------------------- -------
aurora PostgreSQL 11.6: AWS Aurora postgres rds postgres-aurora-instance-1.c1xpjrob56xs.us-west-1.rds.amazonaws.com:5432 cluster=root,env=aws <btn>
Clicking on button for this row will render a dialogue:
CLI template
Step 1 is same as found in Apps and Nodes component.
For step 2 CLI template: tsh db login <db name>
For step 3 CLI template, depending on protocol:
psql (the quotes are required): psql "service=<clustername>-<db name> user=[user] dbname=[dbname]"
mysql: mysql --defaults-group-suffix=_<clustername>-<db name> --user=[user] --database=[database]
NOTE: The angle brackets are values we need to populate for user, the square bracket are values that user will need to fill out for themselves (so leave it as is).
Uh oh!
There was an error while loading. Please reload this page.
Description
For the database access table, render a button for each row that says
connect
, that when clicked upon, a dialogue shows up with CLI commans with most field values preopulated.For example, given this row, and our logged in user is
kimlisa
and my current cluster isasteroid-sun.teleport.sh
:Clicking on button for this row will render a dialogue:

CLI template
Step 1 is same as found in
Apps
andNodes
component.For step 2 CLI template:
tsh db login <db name>
For step 3 CLI template, depending on
protocol
:psql (the quotes are required):
psql "service=<clustername>-<db name> user=[user] dbname=[dbname]"
mysql:
mysql --defaults-group-suffix=_<clustername>-<db name> --user=[user] --database=[database]
NOTE: The
angle brackets
are values we need to populate for user, thesquare bracket
are values that user will need to fill out for themselves (so leave it as is).Link for the GUI
https://goteleport.com/docs/database-access/guides/gui-clients/
The text was updated successfully, but these errors were encountered: