[keycloak-user] keycloak mysql

Stian Thorgersen sthorger at redhat.com
Wed Sep 16 03:50:01 EDT 2015


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 at 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.
>
> See this article:
> http://wildfly.org/news/2014/02/06/GlassFish-to-WildFly-migration
>
> I think it goes through all the steps ...
>
>
> On Tue, Sep 15, 2015 at 8:21 PM, Fadi Abdin <fadiabdeen at 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 at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>>
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20150916/bb7c341c/attachment.html 


More information about the keycloak-user mailing list