keycloak/Quarkus - unable to start keycloak server duo to mysql error #12908
Unanswered
ahmedDahliz
asked this question in
Q&A
Replies: 0 comments
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.
-
I'm getting errors trying to run keycloak/quarkus with MySQL.
When I run the command to start the server :
> kc.bat start-devKeycloak connect to the database successfully, but it stops after giving this error :
Error message : "The key is too long. Maximum length: 1000 [Failed SQL: (1071) ALTER TABLE keycloak_db_test.REALM_SOCIAL_CONFIG ADD PRIMARY KEY (REALM_ID, NAME)]
I tried to this with Keycloak versions 18 & 17, and tried it with MySql 5 & MySQL 8 & MariaDB 10 I Also tried to enable innodb_large_prefix in my.ini, but still no go.
OS : Windows
The configuration file keycloak.conf:
Any ideas that may help, please ?
Beta Was this translation helpful? Give feedback.
All reactions