Adding to Marko's reponse, the database is automatically initiated by Keycloak (it is also updated on upgrade)

On 15 September 2015 at 21:01, Marko Strukelj <mstrukel@redhat.com> wrote:
First, you should always use: http://keycloak.github.io/docs/userguide/html/index.html for the latest documentation.

Second, you don't have to change anything in keycloak-server.json file for MySQL setup. 

What you do is modify the KEYCLOAK_HOME/standalone/configuration/standalone.xml file - which is a Wildfly configuration file, and change the KeycloakDS definition there to use MySQL rather than H2.

In order to install mysql driver into Wildfly you have to create a new module for it under KEYCLOAK_HOME/modules directory, and download a .jar file. 


I think it goes through all the steps ... 


On Tue, Sep 15, 2015 at 8:21 PM, Fadi Abdin <fadiabdeen@gmail.com> wrote:
I'm following the instructions on http://docs.jboss.org/keycloak/docs/1.0-alpha-3/userguide/html/server-installation.html to setup MySQL instead of the H2. 

But i cant find how do i initiate the keycloak database . is there ddl file i run on the database before setting up the connections in the standalone.xml

Thanks,


_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user


_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user