Skip to content

Commit

Permalink
[v17] Make Teleport Connect use TCP connection mode for Oracle (#50922)
Browse files Browse the repository at this point in the history
* Make Teleport Connect use TCP connection mode for Oracle

* Add comments to params
  • Loading branch information
Tener authored Jan 10, 2025
1 parent cfd5a37 commit 57aa9a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/teleterm/cmd/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ func newDBCLICommandWithExecer(ctx context.Context, cluster *clusters.Cluster, g
dbcmd.WithNoTLS(),
dbcmd.WithTolerateMissingCLIClient(),
dbcmd.WithExecer(execer),
dbcmd.WithOracleOpts(true /* can use TCP */, true /* has TCP servers */),
dbcmd.WithGetDatabaseFunc(func(ctx context.Context, _ *client.TeleportClient, _ string) (types.Database, error) {
getDatabaseOnce.Do(func() {
database, getDatabaseError = cluster.GetDatabase(ctx, authClient, gateway.TargetURI())
Expand Down

0 comments on commit 57aa9a9

Please sign in to comment.