Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Do
-
2.3.0.Final
-
None
-
None
-
-
-
Description
With a MySQL database using UTF8, Keycloak initialization will fail with error "Specified key was too long; max key length is 767 bytes" (see attached log for details).
A workaround is to create the keycloak database with latin1 charset. If you do want UTF8 however, resources I found on this error in other applications recommend choosing a different key.
I tried --innodb-large-prefix=1 but it didn't help.
Attachments
Issue Links
- is related to
-
KEYCLOAK-3439 MySQL UTF-8 encoding
-
- Closed
-
- relates to
-
KEYCLOAK-13305 Make Keycloak MySQL utf8mb4 ready
-
- Open
-