I've just upgraded our BitBucket Server to 5.2.2 and it won't start with an error message: "The database, as currently configured, is not accessible. Bitbucket is configured to use the mysql driver (com.mysql.jdbc.Driver) but it is not available.".
This is not the first time I was upgrading the BitBucket Server. As it was with the last time I was upgrading it, I've put the latest jdbc driver (mysql-connector-java-5.1.43-bin.jar) in the /opt/atlassian/bitbucket/5.2.2/lib folder. It doesn't matter if I start it with service atlbitbucket start or 5.2.2/bin/start-bitbucket.sh commands, the error is always there.
Is this a known issue and can it be resolved?
Had to figure this out for Windows Server 2008 R2 Sp1 - we were getting the same error when trying to launch it in the browser. With a default install of Bitbucket 5.x the path is apparently:
(where you find the other .jar files). Once we copied the connector there, it worked out.
Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...
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