Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket Mysql Connection

Anthem Business Group
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 13, 2019

I'm trying to install the bitbucket "Self-Hosted" server though I can not as it gives me a "The required driver is not installed. See our documentation for more information." error. The MySQL connector is in the correct place based on the documentation though. I have rebooted and restarted the Bitbucket server, as well as try installing the .deb file provided at https://dev.mysql.com/downloads/connector/j/ for Ubuntu 18.04 with no luck. I tried updating to Bitbucket 6 and going from there since these screenshots were taken but the same errors have occurred.

Server Environment:
-Ubuntu 18.04
-All packages are up to date.
-Bitbucket is the only thing to run on this.
-Java Version
OpenJDK version "10.0.2" 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode)

Bitbucket 2.pngBitbucket.pngBitbucket 1.png2019-02-08 11-Setup - Bitbucket.png2019-02-08 11-Connecting Bitbucket Server to MySQL - Atlassian Documentation.png

1 answer

1 accepted

1 vote
Answer accepted
Edwin Kyalangalilwa
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 13, 2019

Hi @Anthem Business Group,

As stated in step 3 of the last screenshot, the driver should be under the lib folder of your bitbucket home directory.

Then make sure the user running Bitbucket is the owner of the jar file.

Anthem Business Group
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 13, 2019

As per my first screenshot it is in /lib but I was not running it under the atlbitucket user. This has worked thank you!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events