JIRA 4.4 cannot connected to SQL Server 2008 R2 database

I got an error when setup DB connection to SQL server 2008 R2

Attempting to connect to the SQL Server database server...

Could not connect to the DB: Cannot open database "SGCRYJIRA01\JIRADB" requested by the login. The login failed.

2 answers

1 accepted

How is the connection made? Specific user account or Windows Authentication.

If Windows Authentication keep in mind SQL Agent uses it's service account as the login and thus if it is not your user name and password that is the account the SQL Agent service is running under it won't be the same as you logging in.

However, I would never suggest setting up the server to run under your credentials, I would suggest setting up a SQL user account with proper permissions and use SL authentication instead with that info so the package can successfully make the connection.

Also Did you verify the connection object is setup correctly? It sounds like the connection object has the issue from what you say. Might be defined as server = localhost or something similar which would be why fails on your machine and not on the actual server.

As John suggests please check the name of the Db.

Do let me know if this Helps

Amrut

Now, It's work. Thank you for your suggestion

Nuttanun

vote the answer if it helped.

It looks to me like you do not have a Database named JIRADB, but rather JiraDBSchema.

I would suggest you review how you created your databases; I also suggest making sure you have the Logins and Users set up properly.

ciao - John.

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
Posted Thursday in Off-topic

Friday Fun: Magic Eyes

...staring into the background. Once the image pops out in 3D, you can look around the picture and enjoy. If you will see if you are a true illusion master! :) You did it? :) Wow! Awesome! As a bonus...

420 views 79 11
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