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

Sample code for implementing form validation with pure CSS

In our daily business, form validation is a very ...

Analysis of the operating principle and implementation process of Docker Hub

Similar to the code hosting service provided by G...

How to clear mysql registry

Specific method: 1. Press [ win+r ] to open the r...

Writing Snake Game with Native JS

This article shares the specific code of writing ...

How to choose the format when using binlog in MySQL

Table of contents 1. Three modes of binlog 1.Stat...

Tutorial on installing MySQL 8.0.11 under Linux

1. Go to the official website to download the ins...

Summary of some reasons why crontab scheduled tasks are not executed

Preface I recently encountered some problems at w...

Steps to enable TLS in Docker for secure configuration

Preface I had previously enabled Docker's 237...

InnoDB type MySql restore table structure and data

Prerequisite: Save the .frm and .ibd files that n...

Basic usage tutorial of MySQL slow query log

Slow query log related parameters MySQL slow quer...

Two ways to remove the 30-second ad code from Youku video

I believe everyone has had this feeling: watching ...

Mysql example of splitting into multiple rows and columns by specific symbols

Some fault code tables use the following design p...

Detailed explanation of using Vue.prototype in Vue

Table of contents 1. Basic Example 2. Set the sco...

Share 20 excellent web form design cases

Sophie Hardach Clyde Quay Wharf 37 East Soapbox Rx...