Operations failing due to lack of SQL permissions
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
Many issues can be caused by SQL operations failing. Some which we have seen in the past include:
Not being able to create projects
Not being able to invite users
Something similar to this appears in the atlassian-jira.log
:
1
Caused by: java.sql.SQLException: CREATE TABLE permission denied in database 'JIRA'.
Cause
The SQL user used by JIRA does not have the necessary permissions.
Resolution
Shut down JIRA
Update the permissions for the user in SQL per:
Was this helpful?