当前位置:网站首页>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
边栏推荐
- leetcode-318.最大单词长度乘积
- How to perform concurrent calculation (stability test and stress test)?
- MarkDown Formula Instruction Manual
- 制作web3d动态产品展示的优点
- 回文串求解的进阶方法
- 字节面试题:如何保证缓存和数据库的一致性
- BGP+MPLS综合实验
- Redis(十一) - 异步优化秒杀
- Block elements, inline elements (elements, span elements)
- Machine learning -- - theory of support vector machine (SVM)
猜你喜欢
随机推荐
股价屡创新低 地产SaaS巨头陷入困境 明源云该如何转型自救?
What are the ways to improve software testing capabilities?After reading this article, it will take you up a notch
科技赋能拉萨之“肺”,华为助力拉鲁湿地智慧管理守护绿水青山
leetcode solves the linked list merge problem in one step
pytorch基本操作:使用神经网络进行分类任务
关于 VS Code 优化启动性能的实践
如何进行并发数计算(稳定性测试和压力测试)?
leetcode一步解决链表反转问题
Thread Basics (1)
Mysql数据库 | 基于Docker搭建Mysql-8.0以上版本主从实例实战
25K test old bird's 6-year experience in interviews, four types of companies, four types of questions...
MySQL数据表的基本操作和基于 MySQL数据表的基本操作的综合实例项目
秒杀系统小demo
上海交大牵手淘宝成立媒体计算实验室:推动视频超分等关键技术发展
引领需求 为HR价值正名——“人力资源领先模型HRLM”成功首发
Leetcode parentheses matching problem -- 32. The longest parentheses effectively
C# 编码规范手册
触发器简单解释
Block elements, inline elements (
elements, span elements)Guarantee WIFI security in home and enterprise-with AC and AP networking experiment