Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA Installation on Windows Server 2008 R2 standard and SQL server 2008 R2 on same local machine

wajdhaikal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 14, 2012

JIRA Installation wizard database configuration step does not see the local SQL server 2008 R2 Host, even all services are running:

Error:

Error connecting to database

Unknown server host name 'JIRA\JIRA44'.

JIRA\JIRA44

What could be the cause?

do i need to install any driver , advice please!, I did the same installation on windows server 2003 worked.

4 answers

1 accepted

1 vote
Answer accepted
wajdhaikal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 15, 2012

I have resolved the problem by installing a default instance (not a named instance) this solved my issue, it seems JIRA database configuration page has problem dealing with a named SQL instance.

wajdhaikal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 30, 2012

This does not have any relation with the release of SQL server if 2005 or 2008..etc. I have made many senarios and tests to enable JIRA to see the 'NAMED' instance of SQL server and all tests failed to see the named instance. The default SQL server instance worked fine in all SQL server versions.

wajdhaikal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 30, 2012

if you think this is possible, then kindly send me a configuration file/xml (JIRA use with a "Named" SQL server instance)

Deleted user November 10, 2013

If you want to connect to myDbName on myServerName\myInstanceName then during initial setup (just after installation) try the following field values:

  1. For the "Database Connection" select "My Own Database"
  2. For "Database Type" select "Microsoft SQL Server"
  3. For "Hostname" enter "myServerName"
  4. Leave "Port" as "1433"
  5. For "Database" enter "myDbName;instance=myInstanceName"
  6. Fill in "Username", "Password" and "Schema"
  7. Click "Test Connection"

The alternative is to manually configure the dbconfig.xml file as described by Atlassian but modifying the <url> tag as described in the JTDS FAQ. This information is available from Atlassian, but is tagged for SQL Server 2005.

AZ
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 13, 2015

Your solution works great Chris. It was driving me nuts. Many thanks.

1 vote
Nicholas Del Conte
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 20, 2014

Chris Gill method works. thanks

SamNg-3DP
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 6, 2016

Great tip, @Chris Gill!! Worked perfectly. Thank you.

0 votes
Andrew Frayling
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 14, 2012
JIRA does support instance names, does http://confluence.atlassian.com/display/JIRA044/Connecting+JIRA+to+SQL+Server+2008 help? Section 4.2 gives an example of using a named instance.
wajdhaikal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 15, 2012

My server is windows server 2008 R2 ( 64 bit )

Ihave installed JIRA as a service using installer package.

Im unable to run the conf.bat from command prompt to configure the database (it popups and close)

Is this has any relation with tomcat?

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 14, 2012

Check the name of the database server - are you sure it's listening there? (The string doesn't look right to me, but it's been a while since I used MS SQL)

wajdhaikal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 14, 2012

If I removed instance name, it will give me this error:

Error connecting to database

Network error IOException: Connection refused: connect

Connection refused: connect

wajdhaikal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 14, 2012

uanforunatly not, because this is an instance Hostname : JIRA and instance name JIRA44

my question is, is jira_user must exist because Im binding and using sa user for my installation and connecting via sa user and dbo schema.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 14, 2012

Can you connect to it using another tool? There shouldn't need to be anything other than an empty schema for Jira to use (your JIRA44) and a user for it - check that you can connect with the explorer or something.

wajdhaikal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 14, 2012

not solved yet. does JIRA support Sql instance , or just default instance

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 14, 2012

Yes, it does, it works fine on at least two installs I have access to. You are not configuring it correctly.

Please check your settings and re-read the documentation Andrew pointed to. Then tell us what you are doing differently from that, or go into more detail about what you're putting in and how you've configured it.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events