DengLZ commented on issue #7773:
URL: 
https://github.com/apache/incubator-seata/issues/7773#issuecomment-3528126553

   这个问题解决了.  使用不同版本的mysql需要下载不同版本的jar包
   $ cat docker-compose.yaml
   version: "3.1"
   services:
     seata-server-1:
       image: apache/seata-server:2.5.0
       ports:
         - "7091:7091"
         - "8091:8091"
       environment:
         - STORE_MODE=db
         # 以SEATA_IP作为host注册seata server
         - SEATA_IP=10.0.140.162
         - SEATA_PORT=8091
       volumes:
         - "/usr/share/zoneinfo/Asia/Shanghai:/etc/localtime"        #设置系统时区
         - "/usr/share/zoneinfo/Asia/Shanghai:/etc/timezone"  #设置时区
         # 假设我们通过docker cp命令把资源文件拷贝到相对路径`./seata-server/resources`中
         # 如有问题,请阅读上面的[注意事项]以及[使用自定义配置文件]
         - "./seata-server/resources:/seata-server/resources"
         - "./seata-server/jdbc:/lib/jdbc"
   
   # mysql5 使用下面这个版本的jar包.
   $ ls seata-server/jdbc/
   README.md  mysql-connector-java-5.1.49.jar


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to