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

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



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 Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

896 views 45 7
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