Versions in this module Expand all Collapse all v0 v0.2.0 Sep 30, 2023 Changes in this version + var ErrBadConnNoWrite = errors.New("bad connection") + var ErrBusyBuffer = errors.New("busy buffer") + var ErrCleartextPassword = errors.New(...) + var ErrInvalidConn = errors.New("invalid connection") + var ErrInvalidDSNAddr = errors.New("invalid DSN: network address not terminated (missing closing brace)") + var ErrInvalidDSNNoSlash = errors.New("invalid DSN: missing the slash separating the database name") + var ErrInvalidDSNUnescaped = errors.New("invalid DSN: did you forget to escape a param value?") + var ErrMalformPkt = errors.New("malformed packet") + var ErrNativePassword = errors.New("this user requires mysql native password authentication.") + var ErrNoTLS = errors.New("TLS requested but server does not support TLS") + var ErrOldPassword = errors.New(...) + var ErrOldProtocol = errors.New("MySQL server does not support required protocol 41+") + var ErrPktSync = errors.New("commands out of sync. You can't run this command now") + var ErrPktSyncMul = errors.New("commands out of sync. Did you run multiple statements at once?") + var ErrPktTooLarge = errors.New(...) + var ErrUnknownPlugin = errors.New("this authentication plugin is not supported") + func IsConnErr(err error) bool + type SQLError struct + Message string + Num int + Query string + State string + func NewSQLError(number int, sqlState string, format string, args ...interface{}) *SQLError + func (se *SQLError) Error() string + func (se *SQLError) Number() int + func (se *SQLError) SQLState() string v0.1.0-rc1 Sep 1, 2022