Operations failing due to lack of SQL permissions
Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.
Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles 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
:
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: