diff --git a/templates/standalone-ha.xml.j2 b/templates/standalone-ha.xml.j2
index 6914b903de8ad896e1c34d299f13d62fe4dc57a3..b281de3d46885b14c24074c58f80179f4922c270 100644
--- a/templates/standalone-ha.xml.j2
+++ b/templates/standalone-ha.xml.j2
@@ -367,7 +367,7 @@
                         <password>sa</password>
                     </security>
                 </datasource>
-                <datasource jndi-name="java:jboss/datasources/KeycloakDS" pool-name="KeycloakDS" enabled="true" use-java-context="true" statistics-enabled="${wildfly.datasources.statistics-enabled:${wildfly.statistics-enabled:false}}">
+                <datasource jndi-name="java:jboss/datasources/KeycloakDS2" pool-name="KeycloakDS2" enabled="true" use-java-context="true" statistics-enabled="${wildfly.datasources.statistics-enabled:${wildfly.statistics-enabled:false}}">
                 	<connection-url>jdbc:mariadb://localhost/keycloak?characterEncoding=UTF-8</connection-url>
                 	<driver>mariadb</driver>
                 	<pool>