Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

The required driver is not installed

Nick Kazemi March 10, 2018

I am trying to install bitbucket server on a Ubuntu 16.04, with mariaDB 10.0.34 installed.

I have download the Mysql connector 5.1.45 and copied the mysql-connector-java-5.1.45-bin.jar to the lib folder and restart the bitbucket using the provided scripts stop-bitbucket.sh & start-bitbucket.sh but whenever I try to select external and select Mysql I get error message says "The required driver is not installed. See our documentation for more information." and I cannot go any feature.

what should I do?

 

1 answer

1 accepted

3 votes
Answer accepted
Craig Castle-Mead
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.
March 10, 2018

Hey Nick,

Two options come to mind.

  1. There's a few locations that might be considered "lib folders" - and the right one depends on the version of Bitbucket you're running. Seems the lib folder for mysql driver was moved from the application directory to the home directory (if you use the default home directory value, this would make it  /var/atlassian/application-data/bitbucket/lib )
    References:
    1. https://community.atlassian.com/t5/Bitbucket-questions/BitBucket-Server-says-com-mysql-jdbc-Driver-is-not-available/qaq-p/613794
    2. https://confluence.atlassian.com/bitbucketserver/bitbucket-server-home-directory-776640890.html
  2. Check the file permissions - maybe it's in the right spot, but owned by root and the application is running as another user (eg: bitbucket)

CCM

Nick Kazemi March 11, 2018

Thanks a lot it worked 

高山 October 16, 2020

works fine.

Oleg Chepjakov September 23, 2021

Thank you! That's it

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events