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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

2 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.

Suggest an answer

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

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,787 views 0 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