Skip to content

Instantly share code, notes, and snippets.

@mstruk
Created January 18, 2018 16:09
Show Gist options
  • Save mstruk/257d1256db2b31683f81ac475f9531cc to your computer and use it in GitHub Desktop.
Save mstruk/257d1256db2b31683f81ac475f9531cc to your computer and use it in GitHub Desktop.
Docker-compose-example failure with mysql
keycloak_1 | 16:07:16,932 INFO [org.keycloak.services] (ServerService Thread Pool -- 54) KC-SERVICES0006: Importing users from '/opt/jboss/keycloak/standalone/configuration/keycloak-add-user.json'
keycloak_1 | 16:07:17,351 WARN [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (ServerService Thread Pool -- 54) SQL Error: 1062, SQLState: 23000
keycloak_1 | 16:07:17,352 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (ServerService Thread Pool -- 54) Duplicate entry 'master-admin' for key 'UK_RU8TT6T700S9V50BU18WS5HA6'
keycloak_1 | 16:07:17,367 INFO [org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl] (ServerService Thread Pool -- 54) HHH000010: On release of batch it still contained JDBC statements
keycloak_1 | 16:07:17,391 ERROR [org.keycloak.services] (ServerService Thread Pool -- 54) KC-SERVICES0010: Failed to add user 'admin' to realm 'master': user with username exists
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment