- Newest
- Most votes
- Most comments
Hello,
This is a know MySQL client(Connector/Net) issue, from MySQL 8.0.29 onward MySQL server uses utf8mb3 rather than utf8, if you are running a old version MySQL connector/NET then it knows "utf8" and "utf8mb4" character sets but have no idea about "utf8mb3".
MySQl 8.0.29 release notes: [+]https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-29.html
Please check the MySQL connector version you are using on the application end and test after updating it to latest version.
Hope it helps!
Hello,
As per your recent comment if you could not change the connector version then other solution would be to not use utf8mb3, use utf8mb4 instead if it is supported by your application(Please test it in Non-prod first). Use below query to identify columns with said character set.
SELECT table_schema, table_name, column_name, character_set_name
FROM INFORMATION_SCHEMA.COLUMNS
where CHARACTER_SET_NAME = 'utf8mb3'
and TABLE_SCHEMA = 'schema_name';
Also check if default character set of any of the database is utf8mb3, you should also change that.
SELECT SCHEMA_NAME,DEFAULT_CHARACTER_SET_NAME
FROM INFORMATION_SCHEMA.SCHEMATA
WHERE DEFAULT_CHARACTER_SET_NAME = 'utf8mb3';
Thank you for the answer. We tried to do it BUT the system claims we do not have the permission to modify the character_set. We are entering as our AWS database user and our impression is that our user on AWS can change ebdb setting but this is something more on the MySQL core and. maybe!!, we cannot modify it. Any idea? Many thanks
Relevant content
- asked a year ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
Thanks and very helpful. I was thinking something similar but the problem for me is that the APP is old and the developer is not reacheable anymore and to me it is complex to modify the MySQL connector. I will try to manage but any suggestion how to "adapt" the MySQL server configuration to avoid old connector modification would be helpful Many thanks!!