Atlassian Bitbucket and Oracle Databases

Trying to migrate Internal Database for Bitbucket to use an Oracle Database externally but Atlassian claims that the user has insufficient privileges to work

Bitbucket does not have adequate permissions to modify the target database when connected as the specified user. Please check that the user has permission to CREATE and DROP tables and to INSERT and DELETE data. For information about creating a database for use with Bitbucket, please refer to the Bitbucket documentation.

However the user has DBA level privileges to the schema in Oracle so there is no Oracle permissions problem



2 answers

Thanks Rakesh,

In the end I managed to solve this issue by dropping the schema and service, then recreating the schema with those specific grants and a new listener service which seemed to fix the issue.

Thanks for your help


Hi Jon,

Database user should have all permissions. Please check if following grants have been performed.

grant connect to <dbuser>

grant resource to <dbuser>

grant create table to <dbuser>

grant create sequence to <dbuser>

grant create trigger to <dbuser>


Please check if DB listener is on.




Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

712 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot