I have updated a table in mysql database while jira is running and I the update didn't reflected on the JIRA UI, after restarted JIRA it shown the update. So is there any way to reflect the database change in JIRA UI without restart it?
No no no. NEVER update a Jira database while the application is running.
You might be lucky and hit a table it can cope with, although that's a very small set of cases. In some cases, you need to restart it. In some cases you need to restart and re-index. In some cases, you need to go find a backup tape because you've destroyed the data.
You should immediately stop your Jira and assess the damage you have just done. As Christian says, start by telling us what tables you've amended, then we can tell you what needs to be rescued.
What table? I wouldn't recommend updating databases while the application is running...
Yes, because jira caches some data, only it update cache, if you update values via UI.
Is it safer to do a datbase update in general while we have the JIRA application stopped and start after we finish with the update?
Please, you have found this question, read the answers. My original answer is still essentially correct - NEVER update a Jira database while it is running.
It's not a case of "safer", it's a case of "completely destroying your system". It must be offline (there are minor exceptions, but later versions of Jira negate the need to use them totally). Stop Jira. Backup your database. Run your SQL. Restart. Re-index. Hope you've fully understood your SQL.
How about if we lock the table first?
No. No. No. Please re-read the previous answers and stop trying to botch in some "fix". There is not one.
Locking is even worse than just wrecking your data, as you could end up with partial writes on top of the corruption you are already creating.
It looks like you're new here. Sign in or register to get started.