# MySQL 8.x - character set utf8mb4 supported?

**URL:** <https://forum.keycloak.org/t/mysql-8-x-character-set-utf8mb4-supported/2845>\
**Category:** Configuring the server\
**Created:** [May 20, 2020, 3:55am UTC](https://forum.keycloak.org/t/mysql-8-x-character-set-utf8mb4-supported/2845 "2020-05-20T03:55:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ping](https://avatars.discourse-cdn.com/v4/letter/p/f14d63/32.png) [@ping](https://forum.keycloak.org/u/ping)\
**Post date:** [May 20, 2020, 3:55am UTC](https://forum.keycloak.org/t/mysql-8-x-character-set-utf8mb4-supported/2845/1 "2020-05-20T03:55:53Z")

</div>

Hi,

i have read the [document](https://www.keycloak.org/docs/latest/server_installation/#unicode-considerations-for-databases), it states:

* * *

`Unicode characters are properly handled provided the database was created with Unicode support in `VARCHAR` and `CHAR` fields in the `CREATE DATABASE` command (e.g. by using `utf8` character set as the default database character set in MySQL 5.5. Please note that `utf8mb4` character set does not work due to different storage requirements to `utf8` character set [[1](https://www.keycloak.org/docs/latest/server_installation/#_footnote_1)]).`

* * *

is it means that utf8mb4 is still not supported in MySQL 8 by newer keycloak version (e.g. 9 / 10) ? Or this limitation only apply to MySQL 5.x?

thanks.
