当前位置:网站首页>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
边栏推荐
- [OpenCV from entry to practice] image processing technology [pixel] (the most detailed in the whole network)
- What are the ways to improve software testing capabilities?After reading this article, it will take you up a notch
- 物联网如何改变城市运行效率
- pytorch basic operations: classification tasks using neural networks
- APT + Transform 实现多模块应用Application生命周期分发
- 【解决】RESP.app 连接不上redis
- Automated operation and maintenance tools - ansible, overview, installation, module introduction
- 聪明人的游戏提高篇:第三章第二课:“桐桐数”(number)
- 5年在职经验之谈:2年功能测试、3年自动化测试,从入门到不可自拔...
- The virtual reality real estate display system foresees the future decoration effect in advance
猜你喜欢

保证家里和企业中的WIFI安全-附AC与AP组网实验

Guarantee WIFI security in home and enterprise-with AC and AP networking experiment

Machine learning -- - theory of support vector machine (SVM)

反向解析dns服务器

程序员最重要的能力是什么?

Different ways of shell scripting

引领需求 为HR价值正名——“人力资源领先模型HRLM”成功首发

深度学习——CNN实现MNIST手写数字的识别

6W+字记录实验全过程 | 探索Alluxio经济化数据存储策略

Install and use Google Chrome
随机推荐
leetcode solves the linked list merge problem in one step
flex layout (flexible layout)
How to install the specified version package with NPM and view the version number
The international top conference OSDI included Taobao system papers for the first time, and the device-cloud collaborative intelligence was recommended by the keynote speech of the conference
pytorch基本操作:使用神经网络进行分类任务
代码编世界 科技创未来
MySQL索引常见面试题(2022版)
C 竞赛——捕鱼
Practice on optimizing startup performance of VS Code
跨桌面端Web容器演进
The virtual reality real estate display system foresees the future decoration effect in advance
关于 VS Code 优化启动性能的实践
引领需求 为HR价值正名——“人力资源领先模型HRLM”成功首发
洛谷小游戏大全(用洛谷的人都得知道)
Guarantee WIFI security in home and enterprise-with AC and AP networking experiment
软件测试在职2年跳槽4次,你还在怪老板不给你涨薪?
leetcode一步解决链表合并问题
深度学习——CNN实现MNIST手写数字的识别
如何进行并发数计算(稳定性测试和压力测试)?
APP Bluetooth connection test of test technology