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
+13-13
Original file line number
Diff line number
Diff line change
@@ -19,20 +19,20 @@ import (
19
19
20
20
// Various errors the driver might return. Can change between driver versions.
21
21
var (
22
-
ErrInvalidConn=errors.New("Invalid Connection")
23
-
ErrMalformPkt=errors.New("Malformed Packet")
24
-
ErrNoTLS=errors.New("TLS encryption requested but server does not support TLS")
25
-
ErrOldPassword=errors.New("This user requires 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")
26
-
ErrCleartextPassword=errors.New("This user requires clear text authentication. If you still want to use it, please add 'allowCleartextPasswords=1' to your DSN.")
27
-
ErrUnknownPlugin=errors.New("The authentication plugin is not supported.")
28
-
ErrOldProtocol=errors.New("MySQL-Server does not support required Protocol 41+")
29
-
ErrPktSync=errors.New("Commands out of sync. You can't run this command now")
30
-
ErrPktSyncMul=errors.New("Commands out of sync. Did you run multiple statements at once?")
31
-
ErrPktTooLarge=errors.New("Packet for query is too large. You can change this value on the server by adjusting the 'max_allowed_packet' variable.")
32
-
ErrBusyBuffer=errors.New("Busy buffer")
22
+
ErrInvalidConn=errors.New("invalid connection")
23
+
ErrMalformPkt=errors.New("malformed packet")
24
+
ErrNoTLS=errors.New("TLS requested but server does not support TLS")
25
+
ErrOldPassword=errors.New("this user requires 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")
26
+
ErrCleartextPassword=errors.New("this user requires clear text authentication. If you still want to use it, please add 'allowCleartextPasswords=1' to your DSN")
27
+
ErrUnknownPlugin=errors.New("this authentication plugin is not supported")
28
+
ErrOldProtocol=errors.New("MySQL server does not support required protocol 41+")
29
+
ErrPktSync=errors.New("commands out of sync. You can't run this command now")
30
+
ErrPktSyncMul=errors.New("commands out of sync. Did you run multiple statements at once?")
31
+
ErrPktTooLarge=errors.New("packet for query is too large. Try adjusting the 'max_allowed_packet' variable on the server")
0 commit comments