We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 361f66e commit beafceeCopy full SHA for beafcee
driver.go
@@ -123,7 +123,7 @@ func (d MySQLDriver) Open(dsn string) (driver.Conn, error) {
123
}
124
if err = mc.writeHandshakeResponsePacket(authResp, addNUL, plugin); err != nil {
125
mc.cleanup()
126
- return nil, err
+ return nil, mc.markBadConn(err)
127
128
129
// Handle response to auth packet, switch methods if possible
0 commit comments