# Keycloak on quarkus with sql server 2019 (15.0) not starting

**URL:** <https://forum.keycloak.org/t/keycloak-on-quarkus-with-sql-server-2019-15-0-not-starting/13738>\
**Category:** Configuring the server\
**Created:** [February 20, 2022, 7:06am UTC](https://forum.keycloak.org/t/keycloak-on-quarkus-with-sql-server-2019-15-0-not-starting/13738 "2022-02-20T07:06:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikipmax](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/mikipmax/32/5104_2.png) [@mikipmax](https://forum.keycloak.org/u/mikipmax)\
**Post date:** [February 20, 2022, 7:06am UTC](https://forum.keycloak.org/t/keycloak-on-quarkus-with-sql-server-2019-15-0-not-starting/13738/1 "2022-02-20T07:06:51Z")

</div>

Greetings, I modified the keycloak.conf file as follows:  
db=mssql  
db-username=sa  
db-password=admin1234  
db-url-database=as2\_plus  
db-url-host=localhost

But when running the command kc.bat start-dev I get the following error:

 ![image](https://global.discourse-cdn.com/free1/uploads/keycloak/original/2X/f/f7bab676e6377928dcc01b172cc8f91ea08954d7.png)  
And in the database if the tables referring to keycloak were created  
Because of that error the keycloak server is not running, any ideas?  
PS: check the credentials and configuration of the database a thousand times

---

<div class="post-metadata">

**Author:** ![mbonn](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/mbonn/32/5755_2.png) [@mbonn](https://forum.keycloak.org/u/mbonn)\
**Post date:** [August 5, 2022, 8:31am UTC](https://forum.keycloak.org/t/keycloak-on-quarkus-with-sql-server-2019-15-0-not-starting/13738/2 "2022-08-05T08:31:36Z")

</div>

Hi,  
Have you tried setting `transaction-xa-enabled=false`?  
And: Quarkus ships with an outdated MSSQL server JDBC driver which is not supporting MS SQL Server 2019, as far as I know.
