Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,6 @@ func (c *connector) Connect(ctx context.Context) (driver.Conn, error) {
return nil, err
}

if mc.cfg.TLS != nil && serverCapabilities&clientSSL == 0 {
return nil, fmt.Errorf("TLS is required, but server doesn't support it")
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch

if plugin == "" {
plugin = defaultAuthPlugin
}
Expand Down