当前位置:网站首页>Nacos database configuration
Nacos database configuration
2022-08-02 06:44:00 【m0_67402564】
This article is about the nacos database configuration
Article Directory
Nacos Control Panel, New Configuration
Nocas Control Panel, New Configuration

Click OK, the configuration is newly created successfully

Nacos Database Configuration
Initialize mysql
Initialize the mysql database and import the database initialization file: conf/nacos-mysql.sql. Note here that the database character set is in utf8mb4 format.utf8 is not really a Chinese character set.

Modify configuration file
Modify the conf/application.properties file, add support for mysql data source configuration (currently only mysql is supported), and add the url, username and password of the mysql data source.

Modify the configuration information of the database in application.properties

Execute the sql statement in nacos-mysql.sql, and create a new nocas_config database according to the requirements in the statement

Create new configuration information in the control panel

View the saved configuration information in the database, you can see the configuration information just added

Summary of this article
This article details database configuration in nocas.
Let me introduce myself first. The editor graduated from Shanghai Jiaotong University in 2013. I worked in a small company and went to big factories such as Huawei and OPPO. I joined Alibaba in 2018, until now.I know that most junior and intermediate java engineers want to upgrade their skills, they often need to explore their own growth or sign up to study, but for training institutions, the tuition fee is nearly 10,000 yuan, which is really stressful.Self-learning that is not systematic is very inefficient and lengthy, and it is easy to hit the ceiling and the technology stops.Therefore, I collected a "full set of learning materials for java development" for everyone. The original intention is also very simple. I hope to help friends who want to learn by themselves but don't know where to start, and at the same time reduce everyone's burden.Add the business card below to get a full set of learning materials
边栏推荐
猜你喜欢

The advantages of making web3d dynamic product display

Point Density-Aware Voxels for LiDAR 3D Object Detection 论文笔记

国际顶会OSDI首度收录淘宝系统论文,端云协同智能获大会主旨演讲推荐

软件测试在职2年跳槽4次,你还在怪老板不给你涨薪?

APP Bluetooth connection test of test technology

leetcode-318.最大单词长度乘积

zabbix自动发现和自动注册

Node installation and configuration of environment variables

Tips for programmers to write PPT

如何优化OpenSumi终端性能?
随机推荐
Install and use Google Chrome
目标检测重要概念——IOU、感受野、空洞卷积、mAP
淘系资深工程师整理的300+项学习资源清单(2021最新版)
The advantages of making web3d dynamic product display
5年在职经验之谈:2年功能测试、3年自动化测试,从入门到不可自拔...
Nacos客户端启动出现9848端口错误分析(非版本升级问题)
Block elements, inline elements (
elements, span elements)BGP+MPLS综合实验
关于鸿蒙系统 JS UI 框架源码的分析
反向解析dns服务器
BGP实验(路由反射器,联邦,路由优化)
Leetcode parentheses matching problem -- 32. The longest parentheses effectively
国际顶会OSDI首度收录淘宝系统论文,端云协同智能获大会主旨演讲推荐
Integrate ssm (1)
Redis-cluster mode (master-slave replication mode, sentinel mode, clustering mode)
node安装和配置(node-v12.20.2-x64 ) 以及node版本切换介绍
Difference and analysis of CPU usage and load
6W+字记录实验全过程 | 探索Alluxio经济化数据存储策略
Introduction to coredns
leetcode每天5题-Day04