How to solve the problem that Seata cannot use MySQL 8 version

How to solve the problem that Seata cannot use MySQL 8 version

Possible reasons: The main reason why Seata does not support MySQL 8 is that the connection driver is version 5, so you can replace the MySQL 8 version of the connection driver or keep both.

1. Go to the seata/lib directory and paste the 8 version jar package into the directory

insert image description here

2. Modify seata/conf/file.conf, driver-class-name = "com.mysql.cj.jdbc.Driver"

insert image description here

3. Start the script seata/bin/seata-server.sh

Remember to start nacos first, you can see that the service is successfully registered to nacos

insert image description here

Possible reasons: The main reason why Seata does not support MySQL 8 is that the connection driver is version 5, so you can replace the MySQL 8 version of the connection driver or keep both.

1. Go to the seata/lib directory and paste the 8 version jar package into the directory

insert image description here

2. Modify seata/conf/file.conf, driver-class-name = "com.mysql.cj.jdbc.Driver"

insert image description here

3. Start the script seata/bin/seata-server.sh

Remember to start nacos first, you can see that the service is successfully registered to nacos

insert image description here

This is the end of this article about how to solve the problem that Seata cannot use MySQL version 8. For more information about Seata using MySQL version 8, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope everyone will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • How springboot cloud uses eureka to integrate distributed transaction component Seata
  • Detailed explanation of the deployment process of SEATA transaction service Docker
  • Detailed installation and use of seata-1.4.0 in springcloud
  • Detailed explanation of SpringCloud-Alibaba-Seata distributed transactions
  • Springcloud seata distributed transaction implementation code analysis
  • SpringCloud Alibaba Seata (Collection Edition)
  • Detailed explanation of SpringBoot's distributed transaction solution based on Dubbo and Seata
  • Springcloud seata nacos environment construction process diagram
  • Detailed explanation of SpringBoot+Dubbo+Seata distributed transactions
  • One article to understand the implementation principle of Seata

<<:  XHTML tags have a closing tag

>>:  How to draw a mind map in a mini program

Recommend

Solution to the problem of repeated triggering of functions in Vue project watch

Table of contents Problem description: Solution 1...

Nginx domain forwarding usage scenario code example

Scenario 1: Due to server restrictions, only one ...

Encapsulate a simplest ErrorBoundary component to handle react exceptions

Preface Starting from React 16, the concept of Er...

Three ways to parse QR codes using javascript

Table of contents 1. Use JavaScript to parse the ...

Simple example of adding and removing HTML nodes

<br />Simple example of adding and removing ...

Summary of Mysql exists usage

Introduction EXISTS is used to check whether a su...

CentOS 6.5 configuration ssh key-free login to execute pssh command explanation

1. Check and install pssh, yum list pssh 2. Becau...

A brief discussion on the solution of Tomcat garbled code and port occupation

Tomcat server is a free and open source Web appli...

React+TypeScript project construction case explanation

React project building can be very simple, but if...

Introduction to who command examples in Linux

About who Displays users logged into the system. ...

Implementation of CSS3 3D cool cube transformation animation

I love coding, it makes me happy! Hello everyone,...

How to use html css to control div or table to be fixed in a specified position

CSS CodeCopy content to clipboard .bottomTable{ b...