Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Unable to do the database setup in confluence7.13.4 my local machine


Dear team,

In my local system I am doing confluence 7.13.4   local setup on windows  for development purpose..

Installation was completed successfully while doing confluence setup in UI it asking database setup.

I was downloaded Mysql server in my local and I was created default root user in Mysql workbench. Then I filled hostname, port, database name, user name and password then try to test connection when below error message I am getting


Can't reach database server or port

SQLState - 08S01
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 118 milliseconds ago. The last packet sent successfully to the server was 110 milliseconds ago."


And then I was downloaded mysql connector jar and deployed in lib folder.

After restarting tomcat I am getting below error in UI


"BootstrapException: Unable to bootstrap application: Couldn't save confluence.cfg.xml to C:\Program Files\Atlassian\Application Data\Confluence directory."


Kindly help me to do confluence local setup.  If I did any wrong step let me know to correct that step.



Thanks and Regards


1 answer

1 vote
Srinatha T Atlassian Team Jun 01, 2022

Hi @Peruma Chinnasamy ,

Welcome to Atlassian community. 

It sounds like your user might not have the proper permissions to write to that directory.

Have a look here: Unable to Complete Installation Due to File Permissions

Once your user is given the proper read/write permissions then it should be able to save the file.


Srinath T

Hi Srinath,

Thank you for you immediate response

I gave all the permission confluence home and install directories.

Thanks and Regards


Like Srinatha T likes this
Srinatha T Atlassian Team Jun 01, 2022

@Peruma Chinnasamy , Thank you for the update. Hope that resolved the issue ?



Srinath T

Hi Srinatha,


No the issue is not resolved yet. Still facing same issue.bootstrap exception.jpg


Thanks and Regards


Like Srinatha T likes this

This is still saying the user running Confluence probably doesn't have the right permissions to create, edit and delete files in the directory it mentions

Now that error cleared 

below error throwing new sql error.jpg

Srinatha T Atlassian Team Jun 03, 2022

@Peruma Chinnasamy , seems like DB connection issue. Do you have the DB "Local_conf_db" on your mysql database? Can you login to the DB with the root user and password which you are using above ? 



Srinath T

Hi Srinatha,

Yes I have local database in my machine. I was created new database as "Local_conf_db"

I can able to login the database by using root user in mysql work bench and cmd. 

For database I was installed mysql server and mysql work bench in my local system.


Thanks and Regards


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

164 views 1 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you