Skip to content

Commit

Permalink
Make Teleport Connect use TCP connection mode for Oracle (#50903)
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 9, 2025
1 parent 9dc860d commit c6e442f
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 c6e442f

Please sign in to comment.