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

Analysis of Hyper-V installation CentOS 8 problem

CentOS 8 has been released for a long time. As so...

How to mount a disk in Linux

When using a virtual machine, you may find that t...

MySQL installation and configuration tutorial for Mac

This article shares the MySQL installation tutori...

Summary of commonly used performance test scripts for VPS servers

Here is a common one-click performance test scrip...

Docker installation and configuration steps for Redis image

Table of contents Preface environment Install Cre...

Script to quickly list all host names (computer names) in the LAN under Linux

Recently, I have a need to list all host names in...

HTML Basics - Simple Example of Setting Hyperlink Style

*** Example of setting the style of a hyperlink a...

A guide to writing flexible, stable, high-quality HTML and CSS code standards

The Golden Rule Always follow the same set of cod...

100-1% of the content on the website is navigation

Website, (100-1)% of the content is navigation 1....

Solve the conflict between docker and vmware

1. Docker startup problem: Problem Solved: You ne...

Summary of vue's webpack -v error solution

Xiaobai learned about Vue, then learned about web...