You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: errors.go
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -18,15 +18,15 @@ import (
18
18
)
19
19
20
20
var (
21
-
errInvalidConn=errors.New("Invalid Connection")
22
-
errMalformPkt=errors.New("Malformed Packet")
23
-
errNoTLS=errors.New("TLS encryption requested but server does not support TLS")
24
-
errOldPassword=errors.New("This server only supports the insecure old password authentication. If you still want to use it, please add 'allowOldPasswords=1' to your DSN. See also https://github.com/go-sql-driver/mysql/wiki/old_passwords")
25
-
errOldProtocol=errors.New("MySQL-Server does not support required Protocol 41+")
26
-
errPktSync=errors.New("Commands out of sync. You can't run this command now")
27
-
errPktSyncMul=errors.New("Commands out of sync. Did you run multiple statements at once?")
28
-
errPktTooLarge=errors.New("Packet for query is too large. You can change this value on the server by adjusting the 'max_allowed_packet' variable.")
29
-
errBusyBuffer=errors.New("Busy buffer")
21
+
ErrInvalidConn=errors.New("Invalid Connection")
22
+
ErrMalformPkt=errors.New("Malformed Packet")
23
+
ErrNoTLS=errors.New("TLS encryption requested but server does not support TLS")
24
+
ErrOldPassword=errors.New("This server only supports the insecure old password authentication. If you still want to use it, please add 'allowOldPasswords=1' to your DSN. See also https://github.com/go-sql-driver/mysql/wiki/old_passwords")
25
+
ErrOldProtocol=errors.New("MySQL-Server does not support required Protocol 41+")
26
+
ErrPktSync=errors.New("Commands out of sync. You can't run this command now")
27
+
ErrPktSyncMul=errors.New("Commands out of sync. Did you run multiple statements at once?")
28
+
ErrPktTooLarge=errors.New("Packet for query is too large. You can change this value on the server by adjusting the 'max_allowed_packet' variable.")
0 commit comments