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 vote

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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

42 views 0 4
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