Skip to content

Commit 463d9b3

Browse files
committed
Clarified the use of config option 'charset'
* `charset`: The charset for the connection. (Default: `'UTF8_GENERAL_CI'`. Value needs to be all in upper case letters!)
1 parent 65559c8 commit 463d9b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ When establishing a connection, you can set the following options:
138138
* `user`: The MySQL user to authenticate as.
139139
* `password`: The password of that MySQL user.
140140
* `database`: Name of the database to use for this connection (Optional).
141-
* `charset`: The charset for the connection. (Default: `'UTF8_GENERAL_CI'`)
141+
* `charset`: The charset for the connection. (Default: `'UTF8_GENERAL_CI'`. Value needs to be all in upper case letters!)
142142
* `timezone`: The timezone used to store local dates. (Default: `'local'`)
143143
* `stringifyObjects`: Stringify objects instead of converting to values. See
144144
issue [#501](https://github.com/felixge/node-mysql/issues/501). (Default: `'false'`)

0 commit comments

Comments
 (0)