CentOS7 断电 confluence 启动问题

一、启动 MySQL

MySQL在Docker中

    1. 找到对应的 mysql 镜像
        docker ps -a
    2. 启动 mysql 镜像
        docker start CONTAINER_ID
    3. 将docker设置成开机启动
        systemctl enable docker
    4. 将MySQL镜像设置成开机启动
        docker update --restart=always CONTAINER_ID    

二、启动 confluence 

    1. find / -name confluence
        /home/local/atlassian/confluence/bin
    2. ./startup.sh
        · 报错
        MESSAGE: closing inbound before receiving peer's close_notify
        · 解决
        - 找到数据库链接文件
        /home/local/atlassian/application-data/confluence/confluence.cfg.xml
        - 数据库连接后面加上?useSSL=false
    3. ./startup.sh
        · 报错
        MySQL session isolation level 'REPEATABLE-READ' is no longer supported. Session isolation
        · 根据页面提示的链接,去官网找到答案
        先查看 mysql 版本 
        SELECT VERSION();
        得到版本是8.0
        根据官网提示,数据库连接后面加上
        sessionVariables=transaction_isolation='READ-COMMITTED'
    4. ./startup.sh
        · 报错
        The reference to entity “sessionVariables“ must end with the ‘;‘ delimiter 
        数据库链接中两个参数之间的& 用 & 代替
        sessionVariables=transaction_isolation='READ-COMMITTED'&useSSL=false
    5. ./startup.sh
        启动成功

  • 6
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值