NacosPlus,Generate power for China's(🇨🇳Xinchuang) database love.
Star ⭐ (top right), the motivation for continuous version maintenance😊
Watch it, if you encounter problems and ask Issues, you can receive the progress of the problem in real time
Fork it, after improving and adapting to the special scene, remember to Pull Request to NacosPlus
English | 中文文档
✅ supported ⌛ planning ❌ not planned
Database Type | Database Version | Database Client Version | Supported | NacosPlus Version |
---|---|---|---|---|
Mysql/MariaDB | 5.7.36 |
8.0.33 |
✅ | 2.2.0.1+ |
PostgreSQL | 90204 |
42.5.1 |
✅ | 2.2.0.1+ |
OpenGauss | 3.0.0 |
2.0.0 |
✅ | 2.2.0.2+ |
GaussDB | 2.1.0 |
2.0.0 |
✅ | 2.2.0.2+ |
Oracle | 11.2.0.1 |
11.2.0.4 |
✅ | 2.3.2.1+ |
DM DBMS | 8.1.3.100 |
8.1.3.140 |
✅ | 2.3.2.2+ |
Sql Server | 2019 |
12.4.2.jre8 |
✅ | 2.3.2.3+ |
OceanBase | - |
- |
⌛ | 2.3.2.7+ |
nacos-2.x.x\distribution\target\nacos-server-2.x.x.tar
nacos-2.x.x\distribution\target\nacos-server-2.x.x.zip
It is in the configuration directory of the manufactured product, format: {db}-schema.sql
nacos-2.x.x\distribution\target\nacos-server-2.x.x.tar\conf{db}-schema.sql
nacos-2.x.x\distribution\target\nacos-server-2.x.x.zip\conf{db}-schema.sql
The following configuration is in the conf\application.properties file of the manufactured product
### If use MySQL or MariaDB as datasource:
#spring.datasource.platform=mysql
#db.pool.config.driver-class-name=com.mysql.cj.jdbc.Driver
#db.url.0=jdbc:mysql://127.0.0.1:3306/nacos_server?characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useUnicode=true&useSSL=false&serverTimezone=UTC
#db.user.0=nacos
#db.password.0=123456
##### If use PostgreSQL or OpenGauss or GaussDB as datasource:
#spring.sql.init.platform=postgresql
#db.pool.config.driver-class-name=org.postgresql.Driver
#db.url.0=jdbc:postgresql://127.0.0.1:5432/nacos_server
#db.user.0=nacos
#db.password.0=123456
##### If use Oracle as datasource:
#spring.sql.init.platform=oracle
#db.pool.config.driver-class-name=oracle.jdbc.OracleDriver
#db.url.0=jdbc:oracle:thin:@//127.0.0.1:1521/nacos_server
#db.user.0=nacos
#db.password.0=123456
#db.testQuery=select 1 from dual
##### If use DM as datasource:
### WARNING: db.user.0 must be NACOS_SERVER, create this account
#spring.sql.init.platform=dm
#db.pool.config.driver-class-name=dm.jdbc.driver.DmDriver
#db.url.0=jdbc:dm://127.0.0.1:5236/nacos_server?keyWords=type,usage,role,action,password&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8
#db.user.0=NACOS_SERVER
#db.password.0=123456
#db.testQuery=select 1
##### If use SqlServer as datasource:
#spring.sql.init.platform=sqlserver
#db.pool.config.driver-class-name=com.microsoft.sqlserver.jdbc.SQLServerDriver
#db.url.0=jdbc:sqlserver://127.0.0.1:1433;DatabaseName=nacos_server;trustServerCertificate=true
#db.user.0=nacos
#db.password.0=123456
#db.testQuery=select 1
Step 1: Download the binary package
You can download the package from the latest stable release.
Take release nacos-server-2.x.x.zip
for example:
unzip nacos-server-2.x.x.zip
cd nacos/bin
Step 2: Start Server
On the Linux/Unix/Mac platform, run the following command to start server with cluster mode:
sh startup.sh -m cluster
On the Windows platform, run the following command to start server with cluster mode. Alternatively, you can also double-click the startup.cmd
to run standalone NacosServer.
startup.cmd -m cluster
mvn -Prelease-nacos -Dmaven.test.skip=true clean install -U
Get 【FAQ-x】 list from issues, Click me !!!
Thanks to the free open source license provided by JetBrains
The author's WeChat QR code only provides emergency support. You must submit ISSUE before seeking help, otherwise the answer will not be supported.