-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution:
Won't Fix
-
Affects Version/s: 2.3.0.Final
-
Fix Version/s: 2.5.0.CR1
-
Component/s: Database
-
Labels:None
-
Environment:
Mariadb 10.1, Keycloak 2.3.0 official docker image.
-
Steps to Reproduce:
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.
- is related to
-
KEYCLOAK-3439 MySQL UTF-8 encoding
-
- Closed
-