Wrong JDBC path defining

Hi ,

 

We would need immediate help on this issue.

 

 

We are migrating our atlassian application and while setting up the JDBC path for the applications we are facing below issue.

 

We are not sure whether we are correct with below configuration.(port arrangements and slashes)

Confluence

___________

Jdbc:jtds:sqlserver://CBDBSSDCD102.xxx.yyyyy.com:14400\ATT/Confluence_DB

 

Where ATT is MSSQL instance, port 14000, DB name is Confluence_DB, DB server -CBDBSSDCD102.xxx.yyyyy.com 

 

JIRA

_______

 

mssql jdbc:jtds:sqlserver:// CBDBSSDCD102.xxx.yyyyy.com:14401\JIR/JIRA_DB

Where JIR is MSSQL instance name.

 

BitBucket

jdbc:sqlserver://CBDBSSDCD102.xxx.yyyy.com:14400\ATT;databaseName=bitbucket

1 answer

This widget could not be displayed.

Hi Vivuu,

  • What version of JIRA are you using?
  • What version of MSSQL are you using?

In regards to JIRA, there is a knowledge base article titled Updating JDBC URL for Microsoft SQL Server that should help with this. 

<url>jdbc:sqlserver://sqlserver_hostname:1433;databaseName=jiradb</url>
<driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class>

In some cases, we've seen users unable to start JIRA, as JIRA reported it could not open the database requested by the login which would cause JIRA's startup to fail. In some environments, the login request doesn't get passed the correct instance. Removing the port number and specifying an instance name should allow the connection to succeed.

The old scheme was:

<url>jdbc:jtds:sqlserver://sqlserver_hostname:1433/jiradb;instance=instance_name</url>

In the new scheme, this would be:

<url>jdbc:sqlserver://sqlserver_hostname\instance_name:1433;databaseName=jiradb</url>

However, the login request appeared to be being passed to an incorrect instance - and thus the following was used:

<url>jdbc:sqlserver://sqlserver_hostname\instance_name;databaseName=jiradb</url>

 

In regards to the other services I would create questions and put them in their repective collections, however, here are some resources to help you get started:

Hopefully this helps.

Cheers,

Branden

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

206 views 1 3
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