Skip to content

Commit af8b826

Browse files
committed
Fix parameter description and add valid booleans to doc
1 parent 734d65e commit af8b826

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ For Unix domain sockets the address is the absolute path to the MySQL-Server-soc
111111
#### Parameters
112112
*Parameters are case-sensitive!*
113113

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+
114116
##### `allowAllFiles`
115117

116118
```
@@ -129,7 +131,7 @@ Type: bool
129131
Valid Values: true, false
130132
Default: false
131133
```
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).
133135

134136
##### `charset`
135137

0 commit comments

Comments
 (0)