jiradb user privileges and jiradb owner

I followed the guide on how to install JIRA 7.2 server

From the section create jira postgres database, it says to create a jiradb user and a jiradb database, but it does not specify which user should the owner of the database and which privileges the user should have on the db.

Currently in my setup the jiradb user has only login access privileges and the jiradb owner is root (postgres) with full access obviously.

It seems to work atm, but I just wanted to be sure this is the correct way

 

1 answer

This widget could not be displayed.

The defaults for postgres are good - when you create a dedicated user with its own database, it'll have all the access it needs.  You'll find jiradb doesn't just have login though, it'll have the full set of create, update, insert, delete, index etc etc etc

Hi thanks for the reply but I didn't understand what you mean.

Should I set the jiradb database owner as jiradbuser?

Do I need to grant jiradbuser the "create database" privileges or only "can do login"?

 

JIRA would not be working if the user did not already have the right priviliges.  So what I think you have done is created the user and database by the usual default method.  Your jiradb user does not have "just login", it has full access to the database.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

143 views 1 4
Join discussion

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