本文介绍: nacos sql
背景:支持国产化需求,不再使用mysql
1.修改插件
编译成功后,插件包保存在nacos-datasource-extend-plugins/nacos-postgresql-datasource-plugin-ext/target目录下,名字一般是nacos-postgresql-datasource-plugin-ext-1.0.0-SNAPSHOT.jar,复制出来备用。
nacos-datasource-extend-pluginsnacos-datasource-plugin-extnacos-postgresql-datasource-plugin-extsrcmainresourcesschema目录下的nacos-pg.sql用来创建库nacos。
2.安装配置Nacos
3.修改配置
nacos的配置文件有两个,位于nacos安装目录的conf目录下,分别是application.properties和cluster.conf(集群才用)
4.启动运行
服务器系统 centos 7.9 ,以单机的方式启动nacos,
结果报错
5.测试
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。