Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,256,870
Community Members
 
Community Events
164
Community Groups

The required driver is not installed

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

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

Thanks a lot it worked 

works fine.

Thank you! That's it

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

1,384 views 1 7
Read article

Community Events

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

Events near you