Changing the DB user from a local sql account to an AD account


Because we dont want to use local sql accounts in our environment i would like to see if anyone can help me find out why i cant get an AD user to be the DB user instead of a local sql account. I have double and triple checked, the accounts in SQL looks exactly the same.

But when i run the Jira Config till (config.bat) and specify the AD user i get:

Attempting to connect to the SQL Server database server...
"Could not connect to the DB: Login failed for user 'SVC-JIRA_DBuser_Prod'"

I am running Jira Core 7.4.2 on Windows Sever 2016 with Java 1.8 and SQL Server 2014.


1 answer

1 accepted

0 votes

Hi Micke,

In general, this user should be a SQL user and not a Windows user nor an Active Directory ID, however, there is a Suggestion to incorporate this into JIRA that you can find at JRASERVER-42220.   Please vote on it and add your use case to the notes to add impact.

One of the commenters in JRASERVER-42220 posted a workaround that worked for them:

Example URL: <url>jdbc:jtds:sqlserver://serverName:port/databaseName;Instance=instanceName;useNTLMv2=True;Domain=domainName</url>

Try this workaround to see if it works for you as well.



Thanks, see now that its not supported. I voted for this

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

240 views 0 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot