It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Connect JIRA to SQL Server 2008 error

Pavel Khvostov Oct 27, 2013

I'm trying to connect Jira to database on SQL server 2008.

When I finish the whole sequence of steps in the JIRA walkthrough ( ) I get this message in my "Jira Configuration Tool" window: "Could not connect to the DB": error connection using login "jiradbuser"

What am I doing wrong?

11 answers

1 vote
Pavel Khvostov Oct 27, 2013

0 votes
Pavel Khvostov Oct 27, 2013

0 votes
Pavel Khvostov Oct 27, 2013

0 votes
Pavel Khvostov Oct 27, 2013

0 votes
Pavel Khvostov Oct 27, 2013

0 votes
Pavel Khvostov Oct 29, 2013

The answers - is my own! Its just screenshots.

I haven't done the connection

Nic Brough [Adaptavist] Community Leader Oct 29, 2013

I have to apologise for my lack of understanding Cyrillic in your screenshots.

Your original question says "Could not connect to the DB": error connection using login "jiradbuser"", but that seems to be missing the actual details. "error connection using <account>" is not what we'd expect, it would be more like "error logging in with this account" or "unable to establish a network connection".

I'm really stuck on translating the error, is it really as generic and vague as it sounds?

0 votes
Pavel Khvostov Oct 29, 2013

My English is not so far from your Cyrillic =)

It seems, that I've confused something...

In here 'C:\Program Files (x86)\Atlassian\Application Data\JIRA' I've got 'dbconfig.xml' :


<validation-query>select 1</validation-query>


ang here's what i get in my browser with 'http://localhost:8081/secure/Dashboard.jspa':

HTTP Status 404 -

type Status report


description The requested resource () is not available.

Apache Tomcat/6.0.32

Nic Brough [Adaptavist] Community Leader Oct 29, 2013

That's consistent with it being unable to reach the database.

Could you tell us what the log file says? There will be error messages in there telling us what is wrong with the database connection settings.

0 votes
Pavel Khvostov Oct 29, 2013

2013-10-30 14:38:57,861 main ERROR [atlassian.jira.startup.LauncherContextListener] Unable to start JIRA.
com.atlassian.jira.exception.DataAccessException: java.sql.SQLException: Ошибка входа пользователя "jiradbuser".
at com.atlassian.jira.upgrade.util.UpgradeUtils.tableExists(
at com.atlassian.jira.appconsistency.db.MinimumUpgradableVersionCheck.databaseSetup(
at com.atlassian.jira.appconsistency.db.MinimumUpgradableVersionCheck.isOk(
at com.atlassian.jira.startup.JiraDatabaseConfigChecklist.doStartupChecks(
at com.atlassian.jira.startup.JiraDatabaseConfigChecklist.startupOK(
at com.atlassian.jira.startup.DatabaseChecklistLauncher.start(
at com.atlassian.jira.startup.DefaultJiraLauncher$
at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(
at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseConfigured(
at com.atlassian.jira.startup.DefaultJiraLauncher.postDbLaunch(
at com.atlassian.jira.startup.DefaultJiraLauncher.access$100(
at com.atlassian.jira.startup.DefaultJiraLauncher$
at com.atlassian.jira.startup.DefaultJiraLauncher.start(
at com.atlassian.jira.startup.LauncherContextListener$1.create(
at com.atlassian.jira.startup.LauncherContextListener$1.create(
at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.get(
at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.onTenantStart(
at com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(
at com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(
at com.atlassian.multitenant.impl.DefaultMultiTenantManager.runForEachListener(
at com.atlassian.multitenant.impl.DefaultMultiTenantManager.startTenant(
at com.atlassian.multitenant.impl.DefaultMultiTenantManager.startAll(
at com.atlassian.jira.startup.LauncherContextListener.contextInitialized(
at org.apache.catalina.core.StandardContext.listenerStart(
at org.apache.catalina.core.StandardContext.start(
at org.apache.catalina.core.ContainerBase.start(
at org.apache.catalina.core.StandardHost.start(
at org.apache.catalina.core.ContainerBase.start(
at org.apache.catalina.core.StandardEngine.start(
at org.apache.catalina.core.StandardService.start(
at org.apache.catalina.core.StandardServer.start(
at org.apache.catalina.startup.Catalina.start(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.apache.catalina.startup.Bootstrap.start(
at org.apache.catalina.startup.Bootstrap.main(
Caused by: java.sql.SQLException: Ошибка входа пользователя "jiradbuser".
at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(
at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(
at net.sourceforge.jtds.jdbc.TdsCore.nextToken(
at net.sourceforge.jtds.jdbc.TdsCore.login(
at net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(
at net.sourceforge.jtds.jdbc.ConnectionJDBC3.<init>(
at net.sourceforge.jtds.jdbc.Driver.connect(
at java.sql.DriverManager.getConnection(
at java.sql.DriverManager.getConnection(
at org.ofbiz.core.entity.ConnectionFactory.tryGenericConnectionSources(
at org.ofbiz.core.entity.transaction.JNDIFactory.getConnection(
at org.ofbiz.core.entity.TransactionFactory.getConnection(
at org.ofbiz.core.entity.ConnectionFactory.getConnection(
at com.atlassian.jira.ofbiz.DefaultOfBizConnectionFactory.getConnection(
at com.atlassian.jira.upgrade.util.UpgradeUtils.tableExists(
... 38 more


Ошибка входа пользователя "jiradbuser" = Error enter user "jiradbuser"

Nic Brough [Adaptavist] Community Leader Oct 29, 2013

I am stuck because the error message you are getting is in Cyrillic and I can't translate it to the actual error message. It's not "Error enter user".

I suspect it is more along the lines of "Error authenticating user", which means you've got the wrong username and/or password, but I don't know. The rest of the stack trace is consistent with that error, but also with it being able to authenticate the user, but the user not having full permissions on the database.

0 votes
Peter Van de Voorde Oct 29, 2013

Hi Pavel,

Did you actually create a user called jiradbuser in the SQL Server database and has this user all the necessary access rights?

Take a look here for more information :

Best regards,


0 votes
Pavel Khvostov Oct 29, 2013

Hi, Peter

first 4 comments with the screenshots are mine

0 votes
Pavel Khvostov Oct 30, 2013

problem solved.

Trouble was with autentification type in SQL server.


Richie Gee Atlassian Team Nov 04, 2013

Pavel, good to hear that, can you please help to accept this answer for the community to benefit from it?

You can also provide more information on the authentication type being configured so that someone searching the similar problem will be able to find the solution by you ;)

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Next-gen

Introducing subtasks for breaking down work in next-gen projects

Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...

12,578 views 62 59
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you