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 Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,906 views 7 10
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