Config mariadb into Keycloak

Hi All,

I would like to ask about how to setup a jdbc driver and datasource mariadb in Keycloak.
So i saw the tutorial from this site click here.

Since I have a seperate mariadb in different server with Keycloak. I change the connection to jdbc:mariadb://DB_IP_ADDR:3306/keycloak

But I am getting error at the last part in test connection, something like you have to make sure server is running and profile not found.
Did I configure wrongly?

Notes: I tried to create a connection in the keycloak server and it is working perfectly means database is running in that ip

Hi there,
Without knowing exactly how you configured your keycloak server I would suggest the following:

  1. Check your firewall setup especially Port 3306
  2. Check if you pass the environment variables correctly