Skip to content

Commit

Permalink
Support for non-TLS MySQL DBs (#4)
Browse files Browse the repository at this point in the history
Co-authored-by: Sai Sandeep Rangisetti <[email protected]>
  • Loading branch information
ssrangisetti and saisandeep-flipkart authored Oct 16, 2023
1 parent 38c1665 commit 0b4523f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/srv/db/mysql/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ func (e *Engine) connect(ctx context.Context, sessionCtx *common.Session) (*clie
user = services.MakeAzureDatabaseLoginUsername(sessionCtx.Database, user)
case e.Auth.IsTokenAuthEnabled() && sessionCtx.Database.IsTokenAuthEnabled():
user, password, err = e.Auth.GetTokenAuthCredentials(ctx, sessionCtx)
connectOpt = func(conn *client.Conn) {}
if err != nil {
return nil, trace.Wrap(err)
}
Expand Down

0 comments on commit 0b4523f

Please sign in to comment.