Hi Team,
Request you to please assist in fixing the below error for confluence setup.
"Your database must use 'READ-COMMITTED' as the default isolation level."
I have followed all the instructions specified on this link.
Thanks a lot.
Regards,
Tanishka S Chotwani
@eClerx Orion What instruction did you follow? If you modified my.cnf, you need to restart MySQL Server to get it affected.
Otherwise, you can just run these SQL command for your mysql account that is used to connect to database
SET [SESSION | GLOBAL] TRANSACTION ISOLATION LEVEL READ COMMITTED
See https://dev.mysql.com/doc/refman/5.5/en/set-transaction.html for further information
Please be aware that after following the instructions, the startup would have 2 long pauses that could be perceived as problems, but Confluence will come up.
I have more information on the long pauses at another post on Atlassian community forum .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Got around this by editing /etc/mysql/my.cnf and adding
[mysqld]
transaction-isolation=READ-COMMITTED
Then I restarted mysql.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aviv.
Thanks a lot for adding solution for this quetion. I was stuck same and by mentioning transaction-isolation=Read-committed resolved the issue.
Regards,
Shahebaaz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Since this is an initial setup, please refer back to the doc you linked and try:
or new installations of Confluence, configure the JDBC string as follows to set the sessionVariable to enforce READ-COMMITTED during the initial setup wizard:
&sessionVariables=tx_isolation='READ-COMMITTED' e.g. jdbc:mysql://127.0.0.1:3306/confdb?sessionVariables=tx_isolation='READ-COMMITTED'
To restart the setup wizard, delete confluence_home/confluence.cfg.xml then restart Confluence.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is perfect. When setting up DB, just select the "By connection string" option instead of the "Simple" option.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.