Fresh install to Linux with existing MySQL db


my situation is Bitbucket server running fine on my Windows client with mysql remote database on CentOs.

I need move my installation from local Windows to remote server CentOs, I run the service startup, I connect to this sample ip in my corporate lan/23 and begin a wizard. Once I put the mysql database address, port, db name, user and pass Bitbucket says me he can't progress because the db is already existing and he want one empty. I need connect to my existing db MySQL, of course I put the driver in /opt/atlassian/bitbucket/4.14.1/lib/.

How to solve?

2 answers

Other infos:

both my system are installed with official installater, my Windows installation of Bitbucket is version 4.10, my CentOs installation is 4.14.

I'm able to start my Windows installation, all works fine. So I stop my Windows installation, start my CentOs installation, connect to the existing, test it and got this message


The first thing to try would be to create the new installation against an empty database (can be on the same database server as the existing one) 

Once the installation has run through the whole process and you are looking at an empty server, shut it down and change the database properties to point to the existing database, then restart.

The config file is home/shared/

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

655 views 5 9
Read article

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