We were given these steps previously to resolve the issue with creating Projects:
To fix the project creation problem, we would recommend you to perform the following actions:
- Please backup your JIRA's data.
- Create a new database for your JIRA by using the following query in your MySQL database:
- CREATE DATABASE jiradbnew CHARACTER SET utf8 COLLATE utf8_bin;
- Grant the necessary permission for the user in your MySQL:
[code}
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,REFERENCES,ALTER,INDEX on <JIRADB>.* TO '<USERNAME>'@'<JIRA_SERVER_HOSTNAME>' IDENTIFIED BY '<PASSWORD>';
flush privileges; - Update the USERNAME, JIRA_SERVER_HOSTNAME & PASSWORD entry with your own entries.
- Please stop your JIRA.
- Access your <JIRAHOME> and rename the dbconfig.xml to olddbconfig.xml
- Restart your JIRA and configure it with your new MySQL database (jiradbnew).
- After configuring JIRA with the new database, please proceed to restore the backup that you have generated earlier.
- After restoring the backup, please relogin to your JIRA and check whether you can create project in your JIRA.
Our IT is trying to implement and have a follow up item regarding step four.
Looking at the current users below the jiiradbuser already has all the permissions the command grants. I’m assuming I need to add the accounts listed in the Jira Service desk portal to the SQL accounts and grant those the specific permissions.
Can you let me know if his assumptions are correct?