can jira and confluence share a mysql databse?


We have JIRA running on 2 instances, one for web frontend and one for mysql. we are currently evaluating confulence, which i have installed as a stand alone instance. its connected to JIRA via the navigation link in JIRA and all the JIRA users are accesible in confluence. 

whats the best practice when this goes to production? should i install a fresh instance in the same configuration as JIRA is installed (web and db seperated) ?

is it recommanded to have JIRA and confluence share the mysql instance ? meaning :

1 instance for JIRA web

1 instance for confluence web

1 instance for mysql, serving both JIRA and confluence.




2 answers

This widget could not be displayed.

Hi Tal,

Create different schema in mysql instance. If you follow the directions from Atlassian, when you run "Create user", it is essentially creating a separate schema. And when you configure the database for Confluence instance, the username/password is the schema name + password.

Refer this document for Creating User and Setting Database Set up your MySQL database and user



This widget could not be displayed.

Hello Tal,

The configuration strategy you're planning is fine, it is recommended to have Confluence and JIRA running on different servers, and you can use the same database server for both, but make sure, just like Taha mentioned, that you use different schemas on MySQL for JIRA and Confluence.


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

383 views 3 6
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