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: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,6 +111,8 @@ For Unix domain sockets the address is the absolute path to the MySQL-Server-soc
111
111
#### Parameters
112
112
*Parameters are case-sensitive!*
113
113
114
+
Notice that any of `true`, `TRUE`, `True` or `1` is accepted to stand for a true boolean value. Not surprisingly, false can be specified as any of: `false`, `FALSE`, `False` or `0`.
115
+
114
116
##### `allowAllFiles`
115
117
116
118
```
@@ -129,7 +131,7 @@ Type: bool
129
131
Valid Values: true, false
130
132
Default: false
131
133
```
132
-
`allowAllFiles=true` allows the usage of the insecure old password method. This should be avoided, but is necessary in some cases. See also [the old_passwords wiki page](https://github.com/go-sql-driver/mysql/wiki/old_passwords).
134
+
`allowOldPasswords=true` allows the usage of the insecure old password method. This should be avoided, but is necessary in some cases. See also [the old_passwords wiki page](https://github.com/go-sql-driver/mysql/wiki/old_passwords).
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