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

Analysis of the principle of Vue nextTick

Table of contents Event Loop miscroTask (microtas...

A more elegant error handling method in JavaScript async await

Table of contents background Why error handling? ...

Design a simple HTML login interface using CSS style

login.html part: <!DOCTYPE html> <html l...

25 fresh useful icon sets for download abroad

1. E-Commerce Icons 2. Icon Sweets 2 3. Mobile Ph...

Similar to HTML tags: strong and em, q, cite, blockquote

There are some tags in XHTML that have similar fu...

JavaScript custom plug-in to implement tab switching function

This article shares the specific code of JavaScri...

CSS Tutorial: CSS Attribute Media Type

One of the most important features of a style she...

Details of the order in which MySQL reads my.cnf

Table of contents The order in which MySQL reads ...

Design a data collector with vue

Table of contents Scenario Core Issues Status mon...

A brief discussion on the use of Web Storage API

Table of contents 1. Browser local storage techno...

CocosCreator Getting Started Tutorial: Making Your First Game with TS

Table of contents premise TypeScript vs JavaScrip...

JavaScript Advanced Closures Explained

Table of contents 1. The concept of closure Addit...

View the command to modify the MySQL table structure

Brief description The editor often encounters som...