We have an existing Jira instance running on MSSQL. Because we need to provide Siteminder security we are installing Jira on linux/tomcat and want it to point back to the existing mssql database. When we use the info in the dbconfig we get the message: "The database specified is not empty. Please specify an empty database for your JIRA installation." How can we successfully point it at this database?
I got our local DBA involved and we were able to resolve it. This is how we did it in the dbconfig.xml:
After installation you can stop the server, modify the dbconfig.xml to point to existing DB and then restart. That should pick it up. Installer will not allow connecting to an existing DB.
Make sure you have a copy of the DB just in case if anything goes wrong.
The solution provided by Jobin seems to be correct, however I would like to add my thoughts as well.
I got the similar error when I installed the application for the first time and I had pointed the schema to an already existing schema (which was non-empty).
I resolved the problem by creating a new EMPTY schema and provided the same in the DB configurations (The rest of the configurations like Database name, port, user credentials were not changed).
I hope my answer helps.
Still working on this but its a combination of updating the dbconfig and following some of the existing documentation. Also, this error occurred on versions before 5.1.8 so shouldn't be an issue now:
I have an existing MSSQL server with a database instance created for my new JIRA install "MYDB;instance=local" .
However, when I tried to test the connection it fails "Could not connect to DB:Login failed for user ***** " even though I was able to execute commands as that user on MSSQL?
MSSQL version 2012
Linux Centos 7
Note: I notice that Manohar was able to get this working but only on his root MSSQL server not in a created instance linked to his server. for example <Server>\<Instance>
Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...
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!
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot