当前位置:网站首页>Problems encountered in local deployment conflict: MySQL database code, isolation level and verification code are not displayed
Problems encountered in local deployment conflict: MySQL database code, isolation level and verification code are not displayed
2022-06-28 17:03:00 【Heartsuit】
background
Local deployment Confluence when , requirement :
- Database code is
utf8-bin. - Isolation level required is
READ-COMMITTED.
Besides , Use Confluence We also encountered the problem that the verification code is not displayed on the page .

Set the database as required
The official download MySQL5.7 :https://downloads.mysql.com/archives/community/
- First, check the current isolation level :
Check the system isolation level :select @@global.tx_isolation;
View session isolation level (5.0 Above version ):select @@tx_isolation;
View session isolation level (8.0 Above version ):select @@transaction_isolation;
-- You can see that the default isolation level of the current database is repeatable
select @@global.tx_isolation;
REPEATABLE-READ
Next , according to Confluence requirement , Set up MySQL The global transaction isolation level of the database is READ-COMMITTED
set global transaction isolation level read committed;
- Set the session isolation level
set session transaction isolation level repeatable read; Set the session isolation level to repeatable
set session transaction isolation level read uncommitted; Set the session isolation level to read uncommitted
set session transaction isolation level read committed; Set the session isolation level to read committed
- Check the modified level again
select @@global.tx_isolation;
READ-COMMITTED
Solve the initialization database error
You do not have the SUPER privilege and binary logging is enabled (you might want to use the less safe log_bin_trust_function_creators variable)
solve : Set up log_bin_trust_function_creators=1 .
set global log_bin_trust_function_creators=1;
show variables LIKE "%trust%"
The above setting method is temporary , When the database service is restarted or the host is restarted, the configuration fails .
The following configurations are available my.ini perhaps my.cnf Make configuration permanent .
transaction-isolation=READ-COMMITTED
log_bin_trust_function_creators=1
Handle the problem that the verification code is not displayed
When you input the wrong number several times, you need to enter the verification code , But Confluence The verification code of does not come out , No display .
Reference resources :https://www.cnblogs.com/wgy1/p/9796176.html
- look for
ConfluenceService name of ( It is useful for modifying the encoding format later ):
Control panel -》 Management tools -》 service – Altassian Confluence -> attribute -> routine -> The service name
- Modify the file encoding format :
cmd.exeGet intoConfluence/binUnder the folder Enter the command :tomcat9w //ES//Confluence**********
C:\Program Files\Atlassian\Confluence\bin>tomcat9w.exe //ES//Atlassian Confluence Confluence110522105657
C:\Program Files\Atlassian\Confluence\bin>tomcat9w.exe //ES//Confluence110522105657
In the input box that pops up
JavaNextJava Options: Add below-Dfile.encoding = UTF-8restart
serviceIn the listConfluence.Log in again , The verification code shows .

If you have any questions or any bugs are found, please feel free to contact me.
Your comments and suggestions are welcome!
边栏推荐
- 【TcaplusDB知识库】WebClient用户如何读取和修改数据
- WPF video hard decoding, rendering and playing (no airspace) (support 4K, 8K and high frame rate video)
- 这个简单的小功能,半年为我们产研团队省下213个小时
- Please ask me, the queries written in my database account for 99%. Is it better to use pay as you go mode or reservation mode?
- 55. maximum sum of continuous subarrays
- Gartner announces five privacy trends from today to 2024
- 知乎热问:一个程序员的水平能差到什么程度?
- 硕士学位论文写作探索学习
- You have a chance to collect wool. Click "earn" and you will have a chance to earn a high commission
- 【TcaplusDB知识库】WebClient用户如何读取和修改数据
猜你喜欢

This simple little function saves 213 hours for our production research team in half a year

提升可观测性 - 业务指标监控实践

「科普大佬说」 智能仿生机器鱼

本地部署Confluence遇到的问题:MySQL数据库编码、隔离级别、验证码不显示

StackOverflow 2022 开发者报告:PostgreSQL 超越 MySQL !
![[tcapulusdb knowledge base] tcapulusdb technical support introduction](/img/ae/9295c8ae642cde632d06966c28d342.png)
[tcapulusdb knowledge base] tcapulusdb technical support introduction

【TcaplusDB知识库】TcaplusDB限制条件介绍

Csp-j1 csp-s1 preliminary training plan and learning points in summer and September 2022

知乎热问:一个程序员的水平能差到什么程度?

Cloud sports, 360 ° witnessing speed and passion
随机推荐
Coding Devops helps Sinochem information to build a new generation of research efficiency platform and drive the new future of "online Sinochem"
Lucky draw animation - Carp jumps over the dragon's gate
【尚硅谷与腾讯云官方合作】硅谷课堂项目视频发布
12 SQL optimization schemes summarized by old drivers (very practical)
logback 日志输出格式
2022年暑期及9月份CSP-J1 CSP-S1初赛 培训计划及学习要点
Fs2k face sketch attribute recognition
[tcapulusdb knowledge base] batch copy the game area
【TcaplusDB知识库】WebClient用户如何读取和修改数据
本地部署Confluence遇到的问题:MySQL数据库编码、隔离级别、验证码不显示
抓取手机端变体组合思路设想
2019 CSP J2入门组 CSP-S2提高组 第2轮 视频与题解
After the first failure, AMEC rushed to the Hong Kong stock exchange for the second time, and the financial principal changed frequently
MATLB|电力系统优化运行与市场化
[tcapulusdb knowledge base] tcapulusdb technical support introduction
The number of different integers in the character string of [3 questions (3) per day]
PID control details [easy to understand]
大型体育赛事与犯罪风险
【TcaplusDB知识库】查看tcapdir目录服务器
[tcapulusdb knowledge base] how webclient users read and modify data