-
-
Notifications
You must be signed in to change notification settings - Fork 627
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(node:12454) UnhandledPromiseRejectionWarning: Error: Encoding not recognized #1333
Comments
closing this one, #1398 tracks same issue |
hm, the docs say that utf8mb3 is an alias for "utf8" encoding, which for historical reasons is acually a "cesu-8" encoding ( see #374 (comment) ) @dougwilson do you have an experience with |
Yea, |
(node:12454) UnhandledPromiseRejectionWarning: Error: Encoding not recognized: 'undefined' (searched as: 'undefined')
at Object.getCodec (/Users/x/xx/node_modules/mysql2/node_modules/iconv-lite/lib/index.js:106:23)
at Object.getEncoder (/Users/x/xx/node_modules/mysql2/node_modules/iconv-lite/lib/index.js:117:23)
at Object.exports.encode (/Users/x/xx/node_modules/mysql2/lib/parsers/string.js:23:25)
at Query.toPacket (/Users/x/xx/node_modules/mysql2/lib/packets/query.js:16:30)
at Query.start (/Users/x/xx/node_modules/mysql2/lib/commands/query.js:55:38)
at Query.execute (/Users/x/xx/node_modules/mysql2/lib/commands/command.js:39:22)
at Connection.handlePacket (/Users/x/xx/node_modules/mysql2/lib/connection.js:408:32)
at Connection.addCommand (/Users/x/xx/node_modules/mysql2/lib/connection.js:430:12)
at Connection.query (/Users/x/xx/node_modules/mysql2/lib/connection.js:493:17)
The text was updated successfully, but these errors were encountered: