Fresh install to Linux with existing MySQL db

Hi,

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 10.1.2.3:7990 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

errore_bitbucket.PNG

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/bitbucket.properties

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

65 views 0 11
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