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
Accepted answer

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
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

226 views 6 0
Join discussion

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