Comments (4)
Looks like you're trying to save session data that includes characters not included in the utf8 encoding.
from express-mysql-session.
Looks like you're trying to save session data that includes characters not included in the utf8 encoding.
How can i fix it? i use express session with discord oauth2 (paspoort-discord) look liks there is not a characters what not is supported
from express-mysql-session.
Looks like the following stackoverflow post could help you:
https://stackoverflow.com/questions/20411440/incorrect-string-value-xf0-x9f-x8e-xb6-xf0-x9f-mysql
You might need to change a MySQL configuration so that it's using the "utf8mb4_general_ci" or "utf8mb4_bin" encoding.
from express-mysql-session.
Closing this as it's likely been solved.
from express-mysql-session.
Related Issues (20)
- Blacklist items in req.session to not be stored in database. HOT 2
- Delete record from table when user log out? HOT 3
- Update underscore package dependency
- Upgrade to mysql2 package HOT 7
- Promisse problem when utilizing mysql2. HOT 4
- PROTOCOL_ENQUEUE_AFTER_FATAL_ERROR with express-mysql-session HOT 4
- sessions table empty (using mysql2) HOT 2
- Unexpected end of JSON input HOT 1
- resave session on each request even if resave is set to false HOT 2
- Error when using MariaDB pool HOT 6
- Sessions Expireds don´t drop of BD mysql HOT 1
- When using mysql2 changing the session is asynchronous, it should behave the same way with mysql. So you will have to await the promise HOT 1
- Unable to connect to mysql using ssl HOT 4
- Inconsistent behavior when destroying a session HOT 1
- Cannot create a session store along with mysql2 HOT 1
- query error HOT 4
- Cannot specify database when using an existing connection pool HOT 1
- Tests in Jest using Supertest break when using this store, but still work as designed in production HOT 1
- some options don't work HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from express-mysql-session.