How to configure MySQL8 in Nacos

How to configure MySQL8 in Nacos

1. Create the MySQL database nacos_config

2. Select the database nacos_config and execute the Nacos built-in table creation script https://github.com/alibaba/nacos/blob/master/distribution/conf/nacos-mysql.sql or conf/nacos-mysql.sql in the nacos installation directory

3. Download the source code https://github.com/alibaba/nacos/tree/1.2.0

4. Modify the root pom.xml

5. Modify com.alibaba.nacos.naming.healthcheck.MysqlHealthCheckProcessor

6. Package the console project

7. Replace the jar file deployed under nacos/target with console\target\nacos-server.jar

8. Modify the nacos configuration file and add serverTimezone=GMT%2B8 in db.url

This is the end of this article about how to configure MySQL8 with Nacos. For more information about how to configure MySQL8 with Nacos, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • Solution to nacos not being able to connect to mysql

<<:  XHTML 2.0 New Features Preview

>>:  About the problem of dynamic splicing src image address of img in Vue

Recommend

MySQL 5.7.21 Installer Installation Graphic Tutorial under Windows 10

Install MySQL and keep a note. I don’t know if it...

Linux service monitoring and operation and maintenance

Table of contents 1. Install the psutil package S...

Color matching techniques and effect display for beauty and styling websites

Color is one of the most important elements for a...

Vue implements horizontal beveled bar chart

This article shares the specific code of Vue to i...

A brief discussion on Linux virtual memory

Table of contents origin Virtual Memory Paging an...

CentOS7 configuration Alibaba Cloud yum source method code

Open the centos yum folder Enter the command cd /...

Detailed explanation of Vue's monitoring method case

Monitoring method in Vue watch Notice Name: You s...

What is the file mysql-bin.000001 in mysql? Can it be deleted?

After installing MySQL using ports, I found that ...

A brief discussion on the semantics of HTML and some simple optimizations

1. What is semanticization? Explanation of Bing D...

Tutorial on installing MySQL 5.7.28 on CentOS 6.2 (mysql notes)

1. Environmental Preparation 1.MySQL installation...

How to implement a single file component in JS

Table of contents Overview Single file components...