Replies: 2 comments
-
this might help |
Beta Was this translation helpful? Give feedback.
0 replies
-
Not sure if this will resolve your issue, but you can alter the charset used within mysql: {
client: 'mysql',
connection: {
host: Env.get('MYSQL_HOST'),
port: Env.get('MYSQL_PORT'),
user: Env.get('MYSQL_USER'),
password: Env.get('MYSQL_PASSWORD', ''),
database: Env.get('MYSQL_DB_NAME'),
charset: 'utf8mb4' // <- change chartset to utf8mb4
},
migrations: {
naturalSort: true,
},
healthCheck: false,
debug: false,
}, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, has anyone had any charset issues with the whereLike query builder?
I noticed that it adds a COLLATE to the query by default "COLLATE utf8_bin".
How to change this COLLATE or remove this behavior?
select count(*) as
total
fromproducts
wherename
like '%Produto c%' COLLATE utf8_bin - COLLATION 'utf8_bin' is not valid for CHARACTER SET 'utf8mb4'Beta Was this translation helpful? Give feedback.
All reactions